Package com.vireocode.vireo.spi
Interface OfflineRevisionTracker
- All Known Implementing Classes:
OfflineEntityVersionService
public interface OfflineRevisionTracker
Tracks a monotonic revision number per entity kind so that offline clients
can tell whether their local copy is stale.
Implemented by OfflineEntityVersionService in
vireo-offline.
-
Method Summary
-
Method Details
-
bump
Increment and return the revision forentityKey.- Returns:
- the new revision, or a non-positive value if the key is not tracked.
-