public class NARKeyStorageFile extends ObjectStorageFile
allocator, currentStorageSize, headers, headers_no_flag, invalid_flags, INVALID_OBJ, MAX_PARTITION_SIZE, maxPartitionSize, OBJ_HEADER, objectFile, partitioned, time_used, valid_flags, VALID_OBJ
Constructor and Description |
---|
NARKeyStorageFile(int count,
java.io.File fileName,
boolean newTable) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
objectFromBytes(byte[] bytes)
This method should return an Object, as created by the given
bytes.
|
protected byte[] |
objectToBytes(java.lang.Object obj)
This method should return the Object in its byte[] format.
|
add, addBytes, allocatorReport, close, drop, get, getBytes, getNumObjects, getObjectFile, getSomeObjects, getValidOffsets, isEmpty, isNewFile, markDeletedBytes, open, remove, removeBytes, removeDelayedParsing, restoreFile, setPartition, setupWalker, setupWalker, toString, toString, update, walkFile
public NARKeyStorageFile(int count, java.io.File fileName, boolean newTable)
protected java.lang.Object objectFromBytes(byte[] bytes)
ObjectStorageFile
objectFromBytes
in class ObjectStorageFile
bytes
- byte[] used to create the Objectprotected byte[] objectToBytes(java.lang.Object obj)
ObjectStorageFile
objectToBytes
in class ObjectStorageFile
obj
- Object to convert to bytes.