public class ByteArrayVol
extends Volume
Created by jan on 2/29/16.
Modifier and Type | Field and Description |
---|---|
static VolumeFactory |
FACTORY |
java.util.concurrent.locks.ReentrantLock |
growLock |
int |
sliceShift |
int |
sliceSize |
int |
sliceSizeModMask |
byte[] |
slices |
LOG, UNSAFE_VOL_FACTORY, closed
Constructor and Description |
---|
ByteArrayVol() |
ByteArrayVol() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
void |
copyTo() |
void |
ensureAvailable() |
byte |
getByte() |
void |
getData() |
DataInput2 |
getDataInput() |
DataInput2 |
getDataInputOverlap() |
java.io.File |
getFile() |
boolean |
getFileLocked() |
int |
getInt() |
long |
getLong() |
byte[] |
getSlice() |
boolean |
isReadOnly() |
boolean |
isSliced() |
long |
length() |
void |
putByte() |
void |
putData() |
void |
putData() |
void |
putDataOverlap() |
void |
putInt() |
void |
putLong() |
int |
sliceSize() |
void |
sync() |
void |
truncate() |
assertZeroes, clear, clearOverlap, close, copyFrom, copyTo, copyTo, copyTo, deleteFile, ensureAvailable, fileLoad, finalize, getByte, getData, getDataInput, getDataInputOverlap, getFile, getFileLocked, getInt, getLong, getPackedLong, getSixLong, getUnsignedByte, getUnsignedShort, hash, isClosed, isReadOnly, isSliced, length, putByte, putData, putData, putDataOverlap, putInt, putLong, putPackedLong, putSixLong, putUnsignedByte, putUnsignedShort, sliceSize, sync, truncate
public static VolumeFactory FACTORY
public java.util.concurrent.locks.ReentrantLock growLock
public int sliceShift
public int sliceSizeModMask
public int sliceSize
public byte[] slices
public byte[] getSlice()
public void ensureAvailable()
public void truncate()
public void putLong()
public void putInt()
public void putByte()
public void putData()
public void putData()
public void copyTo()
public void putDataOverlap()
public DataInput2 getDataInputOverlap()
public void clear()
public long getLong()
public int getInt()
public byte getByte()
public DataInput2 getDataInput()
public void getData()
public void close()
public void sync()
public int sliceSize()
public boolean isSliced()
public long length()
public boolean isReadOnly()
public java.io.File getFile()
public boolean getFileLocked()