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 fileHeapRecordableExceptionDataRecordIdentifier getDataRecordIdentifier()
int byteSize()
throws HeapRecordableException
HeapRecordableExceptionvoid marshall(byte[] binary)
throws HeapRecordableException
binary - where write the object stateHeapRecordableExceptionvoid unmarshall(byte[] binary)
throws HeapRecordableException
binary - where read the object stateHeapRecordableExceptionboolean isStateChanged()
void setSynchronizedWithFile()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.