public interface Snapshotable
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
currentState()
Used to collect the serializable state of the processing element, that need to be
persisted for the reconstructing the element to the same state on a different point of time
|
String |
getElementId() |
void |
restoreState(Map<String,Object> state)
Used to restore serialized state of the processing element, for reconstructing
the element to the same state as if was on a previous point of time.
|
Map<String,Object> currentState()
void restoreState(Map<String,Object> state)
state - the stateful objects of the element as an array on
the same order provided by currentState().String getElementId()
Copyright © 2017 WSO2. All rights reserved.