public interface IHeapRecordable
Modifier and Type | Method and Description |
---|---|
int |
byteSize() |
DataRecordIdentifier |
getDataRecordIdentifier()
get the identifier of the data record storing this object state
|
boolean |
isStateChanged() |
void |
marshall(byte[] binary)
from object state to binary form
|
void |
setDataRecordIdentifier(DataRecordIdentifier dataRecordIdentifier,
boolean existInFile)
set the identifier of the data record storing this object state
|
void |
setSynchronizedWithFile()
set this object state is synchronized with data in file
|
void |
unmarshall(byte[] binary)
from binary form to object state
|
void setDataRecordIdentifier(DataRecordIdentifier dataRecordIdentifier, boolean existInFile) throws HeapRecordableException
dataRecordIdentifier
- the data record identifier for this objecttrue
- if data record with this object state exist in fileHeapRecordableException
DataRecordIdentifier getDataRecordIdentifier()
int byteSize() throws HeapRecordableException
HeapRecordableException
void marshall(byte[] binary) throws HeapRecordableException
binary
- where write the object stateHeapRecordableException
void unmarshall(byte[] binary) throws HeapRecordableException
binary
- where read the object stateHeapRecordableException
boolean isStateChanged()
void setSynchronizedWithFile()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.