- All Known Implementing Classes:
DefaultModificationCountProvider,InputModificationCountProvider
public interface ModificationCountProvider
A monotonically increasing sequence of change numbers.
These can be used to detect when cached values have
been (potentially) invalidated, provided that modifiers
increment the underlying counter.
Change number sequences are only required for advanced techniques; normal usage of operators and ports does not require them.
-
Method Summary
-
Method Details
-
getModificationCount
long getModificationCount()Gets the current change number. This value is monotonically increasing; a change in value indicates a change to the data structure associated with the provider.- Returns:
- the current sequence number
-