public class InMemoryPersistenceStore extends Object implements PersistenceStore
PersistenceStore which will store the state in-memory.| Constructor and Description |
|---|
InMemoryPersistenceStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAllRevisions(String siddhiAppId) |
String |
getLastRevision(String siddhiAppIdentifier) |
byte[] |
load(String siddhiAppId,
String revision) |
void |
save(String siddhiAppId,
String revision,
byte[] data) |
void |
setProperties(Map properties) |
void |
shutdown() |
public void save(String siddhiAppId, String revision, byte[] data)
save in interface PersistenceStorepublic byte[] load(String siddhiAppId, String revision)
load in interface PersistenceStorepublic String getLastRevision(String siddhiAppIdentifier)
getLastRevision in interface PersistenceStorepublic void clearAllRevisions(String siddhiAppId)
clearAllRevisions in interface PersistenceStorepublic void setProperties(Map properties)
setProperties in interface PersistenceStorepublic void shutdown()
Copyright © 2019 WSO2. All rights reserved.