Interface EntryFactory.InvalidationStrategy
-
- Enclosing class:
- EntryFactory
public static interface EntryFactory.InvalidationStrategyStrategy for invalidating item states
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyPending(HierarchyEntry entry)voidinvalidate(HierarchyEntry entry, boolean recursive)Invalidate underlyingItemStateof thisentry.
-
-
-
Method Detail
-
invalidate
void invalidate(HierarchyEntry entry, boolean recursive)
Invalidate underlyingItemStateof thisentry. Implementors may choose to delay the actual call toItemState.invalidate()for thisentryand for any of its child entries. They need to ensure however thatapplyPending(HierarchyEntry)properly invalidates the respective state when called.- Parameters:
entry- TheHierarchyEntryto invalidate.recursive- Invalidate state of child entries iftrue.
-
applyPending
void applyPending(HierarchyEntry entry)
- Parameters:
entry- The affectedNodeEntry.
-
-