public class SingleByteArrayVol
extends Volume
Volume backed by on-heap byte[] with maximal fixed size 2GB. For thread-safety it can not be grown
Modifier and Type | Field and Description |
---|---|
static VolumeFactory |
FACTORY |
byte[] |
data |
LOG, UNSAFE_VOL_FACTORY, closed
Constructor and Description |
---|
SingleByteArrayVol() |
SingleByteArrayVol() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
void |
copyTo() |
void |
ensureAvailable() |
byte |
getByte() |
void |
getData() |
DataInput2 |
getDataInput() |
java.io.File |
getFile() |
boolean |
getFileLocked() |
int |
getInt() |
long |
getLong() |
boolean |
isReadOnly() |
boolean |
isSliced() |
long |
length() |
void |
putByte() |
void |
putData() |
void |
putData() |
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 byte[] data
public SingleByteArrayVol()
public SingleByteArrayVol()
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 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()