Package | Description |
---|---|
net.sf.joafip.store.entity.garbage | |
net.sf.joafip.store.service.garbage | |
net.sf.joafip.store.service.garbage.recordmgr |
Modifier and Type | Method and Description |
---|---|
int |
ReferenceLink.updateLinkCount(DataRecordIdentifier referencingDataRecordIdentifier,
int count)
update link count for a referencing to this referenced
|
Modifier and Type | Method and Description |
---|---|
boolean |
IGarbageManagerForLinkUpdate.addCandidate(DataRecordIdentifier dataRecordIdentifier)
add a garbage candidate
called by save manager when it discover a garbage candidate |
boolean |
GarbageManager.addCandidate(DataRecordIdentifier dataRecordIdentifier) |
void |
IGarbageManagerForLinkUpdate.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 |
void |
GarbageManager.addToGarbage(DataRecordIdentifier dataRecordIdentifier) |
boolean |
IGarbageManagerForCollect.garbagePass()
perform a garbage pass
|
boolean |
GarbageManager.garbagePass() |
ReferenceLink[] |
IGarbageManagerForCollect.getAllReferenceLink() |
ReferenceLink[] |
GarbageManager.getAllReferenceLink() |
List<DataRecordIdentifierRBTNode> |
IGarbageManagerForCollect.getCandidate() |
List<DataRecordIdentifierRBTNode> |
GarbageManager.getCandidate() |
void |
IGarbageManagerForCollect.getCandidateRecordAllDataRecordIdentifiers(Set<DataRecordIdentifier> setToUpdate) |
void |
GarbageManager.getCandidateRecordAllDataRecordIdentifiers(Set<DataRecordIdentifier> setToUpdate) |
void |
IGarbageManagerForCollect.getLinkRecordAllDataRecordIdentifiers(Set<DataRecordIdentifier> setToUpdate) |
void |
GarbageManager.getLinkRecordAllDataRecordIdentifiers(Set<DataRecordIdentifier> setToUpdate) |
int |
IGarbageManagerForCollect.getNumberOfGarbageCandidate()
get number of garbage candidate in the list
|
int |
GarbageManager.getNumberOfGarbageCandidate() |
int |
IGarbageManagerForCollect.getNumberOfToGarbage()
get number of to garbage in the list
|
int |
GarbageManager.getNumberOfToGarbage() |
List<DataRecordIdentifierRBTNode> |
IGarbageManagerForCollect.getToGarbage() |
List<DataRecordIdentifierRBTNode> |
GarbageManager.getToGarbage() |
void |
IGarbageManagerForCollect.getToGarbageRecordAllDataRecordIdentifiers(Set<DataRecordIdentifier> setToUpdate) |
void |
GarbageManager.getToGarbageRecordAllDataRecordIdentifiers(Set<DataRecordIdentifier> setToUpdate) |
boolean |
LinkManager.isReferenced(DataRecordIdentifier dataRecordIdentifier) |
void |
LinkManager.linkUpdate()
update link between object on database according to
#addLink(long, long) and #removeLink(long) call |
boolean |
IGarbageManagerForLinkUpdate.removeFromCandidate(DataRecordIdentifier dataRecordIdentifier)
remove a garbage candidate
called when load object attached to root |
boolean |
GarbageManager.removeFromCandidate(DataRecordIdentifier dataRecordIdentifier) |
boolean |
IGarbageManagerForLinkUpdate.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 |
boolean |
IGarbageManagerForCollect.removeFromCandidateAndOrFromToGarbage(DataRecordIdentifier dataRecordIdentifier) |
boolean |
GarbageManager.removeFromCandidateAndOrFromToGarbage(DataRecordIdentifier dataRecordIdentifier) |
void |
LinkManager.removeLinkIfExist(DataRecordIdentifier referencedDataRecordIdentifier) |
Modifier and Type | Method and Description |
---|---|
boolean |
GarbageCandidateRecordManager.addCandidate(DataRecordIdentifier dataRecordIdentifier)
add a data record identifier garbage candidate to the list ( sorted red
black tree )
|
boolean |
ToGarbageRecordManager.addToGarbage(DataRecordIdentifier dataRecordIdentifier)
add a data record identifier to garbage to the list ( sorted red black
tree )
|
boolean |
ToVisitRecordManager.addToVisit(DataRecordIdentifier dataRecordIdentifier) |
boolean |
VisitedRecordManager.addVisited(DataRecordIdentifier dataRecordIdentifier) |
void |
LinkRecordManager.appendNewReferenceLink(ReferenceLink referenceLink) |
boolean |
VisitedRecordManager.contains(DataRecordIdentifier dataRecordIdentifier) |
boolean |
ToVisitRecordManager.contains(DataRecordIdentifier dataRecordIdentifier) |
boolean |
GarbageCandidateRecordManager.containsCandidate(DataRecordIdentifier dataRecordIdentifier)
FOR TEST ONLY
|
boolean |
ToGarbageRecordManager.containsToGarbage(DataRecordIdentifier dataRecordIdentifier) |
void |
LinkRecordManager.deleteReferenceLink(ReferenceLink referenceLink) |
void |
ToGarbageRecordManager.getAllDataRecordIdentifiers(Set<DataRecordIdentifier> setToUpdate) |
void |
LinkRecordManager.getAllDataRecordIdentifiers(Set<DataRecordIdentifier> setToUpdate) |
void |
GarbageCandidateRecordManager.getAllDataRecordIdentifiers(Set<DataRecordIdentifier> setToUpdate) |
ReferenceLink[] |
LinkRecordManager.getAllReferenceLink() |
List<DataRecordIdentifierRBTNode> |
GarbageCandidateRecordManager.getCandidate()
for test purpose only
|
int |
GarbageCandidateRecordManager.getNumberOfGarbageCandidate()
get number of garbage candidate in the list
|
int |
LinkRecordManager.getNumberOfLinkRecord()
for test purpose
|
int |
ToGarbageRecordManager.getNumberOfToGarbage()
get number of to garbage in the list
|
int |
ToVisitRecordManager.getNumberOfToVisit() |
int |
VisitedRecordManager.getNumberOfVisited() |
List<DataRecordIdentifier> |
LinkRecordManager.getReferencingForReferenced(DataRecordIdentifier referencedDataRecordIdentifier)
get all referencing for a referenced
|
List<DataRecordIdentifierRBTNode> |
ToGarbageRecordManager.getToGarbage()
for test purpose only
|
boolean |
ToGarbageRecordManager.isEmpty() |
boolean |
GarbageCandidateRecordManager.isEmpty() |
boolean |
LinkRecordManager.isReferenced(DataRecordIdentifier dataRecordIdentifier) |
DataRecordIdentifier |
GarbageCandidateRecordManager.pollFirstCandidate()
Retrieves and removes the first garbage candidate record identifier
|
DataRecordIdentifier |
ToGarbageRecordManager.pollFirstToGarbage()
Retrieves and removes the first to garbage record identifier
|
DataRecordIdentifier |
ToVisitRecordManager.pollFirstToVisit() |
DataRecordIdentifier |
VisitedRecordManager.pollFirstVisited() |
boolean |
GarbageCandidateRecordManager.removeCandidate(DataRecordIdentifier dataRecordIdentifier)
remove a data record identifier of garbage candidate from the list if
exist.
|
void |
LinkRecordManager.removeLink(DataRecordIdentifier referencedDataRecordIdentifier)
remove all link to a referenced, must exist
|
void |
LinkRecordManager.removeLinkIfExist(DataRecordIdentifier referencedDataRecordIdentifier)
remove all link to a referenced, can not exist
|
boolean |
ToGarbageRecordManager.removeToGarbage(DataRecordIdentifier dataRecordIdentifier)
remove a data record identifier of to garbage from the list if exist.
|
ReferenceLink |
LinkRecordManager.searchByReferenced(DataRecordIdentifier referencedDataRecordIdentifier) |
void |
LinkRecordManager.updateReferenceLink(ReferenceLink referenceLink) |
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.