public interface ReconfigurableRequest extends Request
A reconfigurable request can also be a stop request and comes with an epoch number. The application must be aware of both of these if it uses any coordination protocol other than paxos.
Modifier and Type | Field and Description |
---|---|
static IntegerPacketType |
STOP
Used internally.
|
Modifier and Type | Method and Description |
---|---|
int |
getEpochNumber() |
default java.lang.Object |
getSummary()
Implementations are encouraged to return an inline created new Object()
whose toString() method will return the actual String instead of just
returning the String directly.
|
boolean |
isStop() |
getRequestType, getServiceName, toBytes, toString
getSummary
static final IntegerPacketType STOP
int getEpochNumber()
boolean isStop()
default java.lang.Object getSummary()
Summarizable
getSummary
in interface Request
getSummary
in interface Summarizable