public class PersistenceService extends Object
| Constructor and Description |
|---|
PersistenceService(SiddhiAppContext siddhiAppContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
persist() |
void |
restore(byte[] snapshot) |
String |
restoreLastRevision() |
void |
restoreRevision(String revision) |
public PersistenceService(SiddhiAppContext siddhiAppContext)
public String persist()
public void restoreRevision(String revision) throws CannotRestoreSiddhiAppStateException
public String restoreLastRevision() throws CannotRestoreSiddhiAppStateException
public void restore(byte[] snapshot)
throws CannotRestoreSiddhiAppStateException
Copyright © 2018 WSO2. All rights reserved.