|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deduced.AbstractPropertyCollection.CollectionToDeleteMonitor
public static class AbstractPropertyCollection.CollectionToDeleteMonitor
Collection To Delete Monitor
Field Summary | |
---|---|
private static java.util.logging.Level |
CHECK_DELETE_LOG_LEVEL
Log level at which delete validation is done. |
private java.util.IdentityHashMap<PropertyCollection<?,?>,PropertyCollection<?,?>> |
collectionToDeleteList
This list is used to prevent memory leaks during application development. |
private AbstractPropertyCollection.CheckParent |
parentCheckRunner
Instanced invoked by Swing to review the list of collections that should be deleted |
Constructor Summary | |
---|---|
AbstractPropertyCollection.CollectionToDeleteMonitor()
|
Method Summary | |
---|---|
void |
addCollectionToDelete(PropertyCollection<?,?> removedCollection)
Adds a collection that was recently removed from it's parent to the list of collections that should either get a new parent or be deleted. |
void |
clear()
clear the list of collection to delete |
void |
deleteProcessCompletedValidation(PropertyCollection<?,?> collection)
last step of the delete process where the collection is identified as properly deleted. |
void |
flushCollectionsWithNewParent(boolean throwException)
check if all the collections flagged for deletion have been deleted correctly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.util.logging.Level CHECK_DELETE_LOG_LEVEL
private final AbstractPropertyCollection.CheckParent parentCheckRunner
private final java.util.IdentityHashMap<PropertyCollection<?,?>,PropertyCollection<?,?>> collectionToDeleteList
Constructor Detail |
---|
public AbstractPropertyCollection.CollectionToDeleteMonitor()
Method Detail |
---|
public void addCollectionToDelete(PropertyCollection<?,?> removedCollection)
removedCollection
- the removed collectionpublic void flushCollectionsWithNewParent(boolean throwException)
throwException
- if set to true, an exception will be thrown
when there are collections that haven't been deleted.public void clear()
public void deleteProcessCompletedValidation(PropertyCollection<?,?> collection)
collection
- the collection that is now deleted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |