public class ByteBufferMemoryVol
extends ByteBufferVol
Created by jan on 3/13/16.
Modifier and Type | Field and Description |
---|---|
static VolumeFactory |
FACTORY
factory for DirectByteBuffer storage
|
static VolumeFactory |
FACTORY_WITH_CLEANER_HACK
factory for DirectByteBuffer storage
|
boolean |
useDirectBuffer |
cleanerHackEnabled, growLock, readOnly, sliceShift, sliceSize, sliceSizeModMask, slices
LOG, UNSAFE_VOL_FACTORY, closed
Constructor and Description |
---|
ByteBufferMemoryVol() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
ensureAvailable() |
java.io.File |
getFile() |
boolean |
getFileLocked() |
boolean |
isReadOnly() |
long |
length() |
void |
sync() |
java.lang.String |
toString() |
void |
truncate() |
clear, copyTo, getByte, getData, getDataInput, getDataInputOverlap, getInt, getLong, getPackedLong, getSixLong, getSlice, getUnsignedByte, getUnsignedShort, isSliced, putByte, putData, putData, putDataOverlap, putInt, putLong, putPackedLong, putSixLong, putUnsignedByte, putUnsignedShort, sliceSize, toByte, toByte, unmap
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
factory for DirectByteBuffer storage
public static VolumeFactory FACTORY_WITH_CLEANER_HACK
factory for DirectByteBuffer storage
public boolean useDirectBuffer
public java.lang.String toString()
public void ensureAvailable()
public void truncate()
public void close()
public void sync()
public long length()
public boolean isReadOnly()
public java.io.File getFile()
public boolean getFileLocked()