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 PersistenceStore
public byte[] load(String siddhiAppId, String revision)
load
in interface PersistenceStore
public String getLastRevision(String siddhiAppIdentifier)
getLastRevision
in interface PersistenceStore
public void clearAllRevisions(String siddhiAppId)
clearAllRevisions
in interface PersistenceStore
public void setProperties(Map properties)
setProperties
in interface PersistenceStore
public void shutdown()
Copyright © 2019. All rights reserved.