public interface ApplicationState
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
This method MUST be implemented.
|
int |
getLastEid()
The consensus of the last batch of commands which the application was given
|
byte[] |
getSerializedState()
Byte array that must be a representation of the application state
|
byte[] |
getStateHash()
Gets an secure hash of the application state
|
int |
hashCode()
This method MUST be implemented.
|
boolean |
hasState()
Indicates if the sender replica had the state requested by the recovering replica
|
void |
setSerializedState(byte[] state)
Sets a byte array that must be a representation of the application state
|
int getLastEid()
boolean hasState()
void setSerializedState(byte[] state)
state
- a byte array that must be a representation of the application statebyte[] getSerializedState()
byte[] getStateHash()
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
int hashCode()
hashCode
in class java.lang.Object