public class RandomAccessFileVol
extends Volume
Created by jan on 2/29/16.
Modifier and Type | Field and Description |
---|---|
static VolumeFactory |
FACTORY |
java.io.File |
file |
java.nio.channels.FileLock |
fileLock |
java.io.RandomAccessFile |
raf |
boolean |
readOnly |
LOG, UNSAFE_VOL_FACTORY, closed
Constructor and Description |
---|
RandomAccessFileVol() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
static void |
clearRAF() |
void |
close() |
void |
ensureAvailable() |
byte |
getByte() |
void |
getData() |
DataInput2 |
getDataInput() |
java.io.File |
getFile() |
boolean |
getFileLocked() |
int |
getInt() |
long |
getLong() |
long |
getPackedLong() |
long |
getSixLong() |
int |
getUnsignedShort() |
boolean |
isReadOnly() |
boolean |
isSliced() |
long |
length() |
void |
putByte() |
void |
putData() |
void |
putData() |
void |
putInt() |
void |
putLong() |
int |
putPackedLong() |
void |
putSixLong() |
void |
putUnsignedShort() |
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.io.File file
public java.io.RandomAccessFile raf
public java.nio.channels.FileLock fileLock
public boolean readOnly
public void ensureAvailable()
public void truncate()
public void putLong()
public void putInt()
public void putByte()
public void putData()
public void putData()
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 java.io.File getFile()
public boolean getFileLocked()
public void clear()
public static void clearRAF()
public void putUnsignedShort()
public int getUnsignedShort()
public long getSixLong()
public void putSixLong()
public int putPackedLong()
public long getPackedLong()
public boolean isReadOnly()