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