@NotStorableClass public class StoreHeader extends AbstractHeapRecordable
heapRecordableManager, helperBinaryConversion, logger
Constructor and Description |
---|
StoreHeader(HeapRecordableManager heapRecordableManager,
HelperBinaryConversion helperBinaryConversion) |
Modifier and Type | Method and Description |
---|---|
int |
byteSize() |
void |
clear()
clear to put in same state as for construction
|
DataRecordIdentifier |
getClassNameListRootDataRecordIdentifier()
get the data record identifier for class name list root node
|
DataRecordIdentifier |
getGarbageCandidateInProcess() |
DataRecordIdentifier |
getGarbageCandidateRootDataRecordIdentifier()
get the data record identifier for garbage candidate tree root node
|
EnumGarbageCollectorState |
getGarbageCollectorState() |
boolean |
getGarbageManagement() |
DataRecordIdentifier |
getGarbageReferenceLinkRootDataRecordIdentifier()
get the data record identifier for garbage reference link tree root node
|
DataRecordIdentifier |
getToGarbageRootDataRecordIdentifier()
get the data record identifier for to garbage tree root node
|
DataRecordIdentifier |
getToVisitByCollectorRootDataRecordIdentifier() |
DataRecordIdentifier |
getVisitedByCollectorRootDataRecordIdentifier() |
void |
marshall(byte[] binary)
from object state to binary form
|
void |
setClassNameListRootDataRecordIdentifier(DataRecordIdentifier classNameListRootDataRecordIdentifier)
set the data record identifier for class name list root node
|
void |
setGarbageCandidateInProcess(DataRecordIdentifier garbageCandidateInProcess) |
void |
setGarbageCandidateRootDataRecordIdentifier(DataRecordIdentifier garbageCandidateRootDataRecordIdentifier)
set the data record identifier for garbage candidate tree root node
|
void |
setGarbageCollectorState(EnumGarbageCollectorState garbageCollectorState) |
void |
setGarbageManagement(boolean garbageManagement) |
void |
setGarbageReferenceLinkRootDataRecordIdentifier(DataRecordIdentifier garbageReferenceLinkRootDataRecordIdentifier)
set the data record identifier for garbage reference link tree root node
|
void |
setToGarbageRootDataRecordIdentifier(DataRecordIdentifier toGarbageRootDataRecordIdentifier)
set the data record identifier for to garbage tree root node
|
void |
setToVisitByCollectorRootDataRecordIdentifier(DataRecordIdentifier toVisitByCollectorRootDataRecordIdentifier) |
void |
setVisitedByCollectorRootDataRecordIdentifier(DataRecordIdentifier visitedByCollectorRootDataRecordIdentifier) |
void |
unmarshall(byte[] binary)
from binary form to object state
|
checkLoaded, compareTo, equals, getDataRecordIdentifier, hashCode, isStateChanged, setDataRecordIdentifier, setStateHaveChanged, setSynchronizedWithFile, toString
public StoreHeader(HeapRecordableManager heapRecordableManager, HelperBinaryConversion helperBinaryConversion)
public void clear()
clear
in class AbstractHeapRecordable
public int byteSize()
public void marshall(byte[] binary) throws HeapRecordableException
IHeapRecordable
binary
- where write the object stateHeapRecordableException
public void unmarshall(byte[] binary) throws HeapRecordableException
IHeapRecordable
binary
- where read the object stateHeapRecordableException
public DataRecordIdentifier getClassNameListRootDataRecordIdentifier() throws StoreException
HeapRecordableException
StoreException
public void setClassNameListRootDataRecordIdentifier(DataRecordIdentifier classNameListRootDataRecordIdentifier) throws StoreException
classNameListRootDataRecordIdentifier
- the data record identifier for class name list root nodeStoreException
public DataRecordIdentifier getGarbageCandidateRootDataRecordIdentifier() throws StoreException
StoreException
public void setGarbageCandidateRootDataRecordIdentifier(DataRecordIdentifier garbageCandidateRootDataRecordIdentifier) throws StoreException
garbageCandidateRootDataRecordIdentifier
- the data record identifier for garbage candidate tree root
nodeStoreException
public DataRecordIdentifier getToGarbageRootDataRecordIdentifier() throws StoreException
StoreException
public void setToGarbageRootDataRecordIdentifier(DataRecordIdentifier toGarbageRootDataRecordIdentifier) throws StoreException
garbageCandidateRootDataRecordIdentifier
- the data record identifier for to garbage tree root nodeStoreException
public DataRecordIdentifier getGarbageReferenceLinkRootDataRecordIdentifier() throws StoreException
StoreException
public void setGarbageReferenceLinkRootDataRecordIdentifier(DataRecordIdentifier garbageReferenceLinkRootDataRecordIdentifier) throws StoreException
garbageReferenceLinkRootDataRecordIdentifier
- the data record identifier for to garbage reference link tree
root nodeStoreException
public DataRecordIdentifier getGarbageCandidateInProcess() throws StoreException
StoreException
public void setGarbageCandidateInProcess(DataRecordIdentifier garbageCandidateInProcess) throws StoreException
StoreException
public DataRecordIdentifier getToVisitByCollectorRootDataRecordIdentifier() throws StoreException
StoreException
public void setToVisitByCollectorRootDataRecordIdentifier(DataRecordIdentifier toVisitByCollectorRootDataRecordIdentifier) throws StoreException
StoreException
public DataRecordIdentifier getVisitedByCollectorRootDataRecordIdentifier() throws StoreException
StoreException
public void setVisitedByCollectorRootDataRecordIdentifier(DataRecordIdentifier visitedByCollectorRootDataRecordIdentifier) throws StoreException
StoreException
public EnumGarbageCollectorState getGarbageCollectorState() throws StoreException
StoreException
public void setGarbageCollectorState(EnumGarbageCollectorState garbageCollectorState) throws StoreException
StoreException
public void setGarbageManagement(boolean garbageManagement) throws StoreException
StoreException
public boolean getGarbageManagement() throws StoreException
StoreException
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.