public class SnapshotService extends Object
| Constructor and Description |
|---|
SnapshotService(SiddhiAppContext siddhiAppContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSnapshotable(String queryName,
Snapshotable snapshotable) |
static ThreadLocal<Boolean> |
getSkipSnapshotableThreadLocal() |
Map<String,Object> |
queryState(String queryName) |
void |
restore(byte[] snapshot) |
byte[] |
snapshot() |
public SnapshotService(SiddhiAppContext siddhiAppContext)
public static ThreadLocal<Boolean> getSkipSnapshotableThreadLocal()
public void addSnapshotable(String queryName, Snapshotable snapshotable)
public byte[] snapshot()
public void restore(byte[] snapshot)
throws CannotRestoreSiddhiAppStateException
Copyright © 2018 WSO2. All rights reserved.