Package org.factcast.core.snap
Class FactCastSnapshotCache
java.lang.Object
org.factcast.core.snap.FactCastSnapshotCache
- All Implemented Interfaces:
SnapshotCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearSnapshot
(@NonNull SnapshotId id) void
compact
(int retentionTimeInDays) compacting will be controlled on server side, so this impl is empty.getSnapshot
(@NonNull SnapshotId id) void
setSnapshot
(@NonNull Snapshot snapshot)
-
Constructor Details
-
FactCastSnapshotCache
public FactCastSnapshotCache()
-
-
Method Details
-
getSnapshot
- Specified by:
getSnapshot
in interfaceSnapshotCache
-
setSnapshot
- Specified by:
setSnapshot
in interfaceSnapshotCache
-
clearSnapshot
- Specified by:
clearSnapshot
in interfaceSnapshotCache
-
compact
public void compact(int retentionTimeInDays) compacting will be controlled on server side, so this impl is empty.- Specified by:
compact
in interfaceSnapshotCache
-