Package io.siddhi.core.util.persistence
Interface IncrementalPersistenceStore
-
- All Known Implementing Classes:
IncrementalFileSystemPersistenceStore
public interface IncrementalPersistenceStoreInterface class for Persistence Stores which does incremental checkpointing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearAllRevisions(String siddhiAppId)Clear all the revisions of Persistence Store of given Siddhi AppStringgetLastRevision(String siddhiAppId)List<IncrementalSnapshotInfo>getListOfRevisionsToLoad(long restoreTime, String siddhiAppName)byte[]load(IncrementalSnapshotInfo snapshotInfo)voidsave(IncrementalSnapshotInfo snapshotInfo, byte[] snapshot)voidsetProperties(Map properties)
-
-
-
Method Detail
-
save
void save(IncrementalSnapshotInfo snapshotInfo, byte[] snapshot)
-
setProperties
void setProperties(Map properties)
-
load
byte[] load(IncrementalSnapshotInfo snapshotInfo)
-
getListOfRevisionsToLoad
List<IncrementalSnapshotInfo> getListOfRevisionsToLoad(long restoreTime, String siddhiAppName)
-
clearAllRevisions
void clearAllRevisions(String siddhiAppId)
Clear all the revisions of Persistence Store of given Siddhi App
-
-