public interface Reconfigurable extends Application
Modifier and Type | Method and Description |
---|---|
boolean |
deleteFinalState(java.lang.String name,
int epoch)
Garbage-collects the final state for name, epoch.
|
java.lang.Integer |
getEpoch(java.lang.String name)
Returns the current (unique) epoch for name.
|
java.lang.String |
getFinalState(java.lang.String name,
int epoch)
Return the final checkpointed state for name, epoch.
|
ReconfigurableRequest |
getStopRequest(java.lang.String name,
int epoch)
Returns a stop request that when executed by the app ensures that no
subsequent request after the stop is executed in that epoch.
|
void |
putInitialState(java.lang.String name,
int epoch,
java.lang.String state)
Inserts the specified state as the initial state for name, epoch.
|
execute
getMutualAuthRequestTypes, getRequest, getRequest, getRequestTypes, getServerAuthRequestTypes
ReconfigurableRequest getStopRequest(java.lang.String name, int epoch)
name
- epoch
- name:epoch
.java.lang.String getFinalState(java.lang.String name, int epoch)
name
- epoch
- void putInitialState(java.lang.String name, int epoch, java.lang.String state)
name
- epoch
- state
- boolean deleteFinalState(java.lang.String name, int epoch)
name
- epoch
- name:epoch
was deleted or did not
exist to begin with.java.lang.Integer getEpoch(java.lang.String name)
name
- name
.