Interface PersistenceStore

  • All Known Implementing Classes:
    FileSystemPersistenceStore, InMemoryPersistenceStore

    public interface PersistenceStore
    Interface class for Persistence Stores. Persistence Stores are used to store the current state of Siddhi Engine so that it can be restored in-case of an issue.
    • Method Detail

      • save

        void save​(String siddhiAppId,
                  String revision,
                  byte[] snapshot)
      • setProperties

        void setProperties​(Map properties)
      • load

        byte[] load​(String siddhiAppId,
                    String revision)
      • getLastRevision

        String getLastRevision​(String siddhiAppId)
      • clearAllRevisions

        void clearAllRevisions​(String siddhiAppId)