public interface IGarbageManagerForLinkUpdate
Modifier and Type | Method and Description |
---|---|
boolean |
addCandidate(DataRecordIdentifier dataRecordIdentifier)
add a garbage candidate
called by save manager when it discover a garbage candidate |
void |
addToGarbage(DataRecordIdentifier dataRecordIdentifier)
add "to garbage"
called by save manager when it discover a data record to garbage the added is removed from candidate if exist in candidate set |
LinkRecordManager |
getLinkRecordManager() |
boolean |
removeFromCandidate(DataRecordIdentifier dataRecordIdentifier)
remove a garbage candidate
called when load object attached to root |
boolean |
removeFromCandidateAndOrFromToGarbage(DataRecordIdentifier dataRecordIdentifier)
remove a garbage candidate and/or "to garbage"
called by save manager when it discover that object can not be a garbage candidate Also remove from "to garbage" because of object detachment and then re-attachment |
LinkRecordManager getLinkRecordManager()
boolean removeFromCandidate(DataRecordIdentifier dataRecordIdentifier) throws GarbageException
referencedDataRecordIdentifier
- GarbageException
boolean removeFromCandidateAndOrFromToGarbage(DataRecordIdentifier dataRecordIdentifier) throws GarbageException
referencedDataRecordIdentifier
- GarbageException
void addToGarbage(DataRecordIdentifier dataRecordIdentifier) throws GarbageException
referencedDataRecordIdentifier
- GarbageException
boolean addCandidate(DataRecordIdentifier dataRecordIdentifier) throws GarbageException
referencedDataRecordIdentifier
- GarbageException
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.