public static enum ReconfigurationPacket.PacketType extends java.lang.Enum<ReconfigurationPacket.PacketType> implements IntegerPacketType
Enum Constant and Description |
---|
ACK_DROP_EPOCH_FINAL_STATE |
ACK_START_EPOCH |
ACK_STOP_EPOCH |
ACTIVE_REPLICA_ERROR |
CREATE_SERVICE_NAME |
DELETE_SERVICE_NAME |
DEMAND_REPORT |
DROP_EPOCH_FINAL_STATE |
ECHO_REQUEST |
EPOCH_FINAL_STATE |
NO_TYPE |
RC_RECORD_REQUEST |
RECONFIGURE_ACTIVE_NODE_CONFIG |
RECONFIGURE_RC_NODE_CONFIG |
REPLICABLE_CLIENT_REQUEST |
REQUEST_ACTIVE_REPLICAS |
REQUEST_EPOCH_FINAL_STATE |
START_EPOCH |
STOP_EPOCH
A typical sequence of events is as follows.
|
Modifier and Type | Field and Description |
---|---|
static IntegerPacketTypeMap<ReconfigurationPacket.PacketType> |
intToType |
Modifier and Type | Method and Description |
---|---|
int |
getInt() |
static ReconfigurationPacket.PacketType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReconfigurationPacket.PacketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReconfigurationPacket.PacketType STOP_EPOCH
public static final ReconfigurationPacket.PacketType START_EPOCH
public static final ReconfigurationPacket.PacketType DROP_EPOCH_FINAL_STATE
public static final ReconfigurationPacket.PacketType REQUEST_EPOCH_FINAL_STATE
public static final ReconfigurationPacket.PacketType EPOCH_FINAL_STATE
public static final ReconfigurationPacket.PacketType DEMAND_REPORT
public static final ReconfigurationPacket.PacketType ACK_STOP_EPOCH
public static final ReconfigurationPacket.PacketType ACK_START_EPOCH
public static final ReconfigurationPacket.PacketType ACK_DROP_EPOCH_FINAL_STATE
public static final ReconfigurationPacket.PacketType CREATE_SERVICE_NAME
public static final ReconfigurationPacket.PacketType DELETE_SERVICE_NAME
public static final ReconfigurationPacket.PacketType REQUEST_ACTIVE_REPLICAS
public static final ReconfigurationPacket.PacketType ACTIVE_REPLICA_ERROR
public static final ReconfigurationPacket.PacketType RC_RECORD_REQUEST
public static final ReconfigurationPacket.PacketType RECONFIGURE_RC_NODE_CONFIG
public static final ReconfigurationPacket.PacketType RECONFIGURE_ACTIVE_NODE_CONFIG
public static final ReconfigurationPacket.PacketType ECHO_REQUEST
public static final ReconfigurationPacket.PacketType REPLICABLE_CLIENT_REQUEST
public static final ReconfigurationPacket.PacketType NO_TYPE
public static final IntegerPacketTypeMap<ReconfigurationPacket.PacketType> intToType
public static ReconfigurationPacket.PacketType[] values()
for (ReconfigurationPacket.PacketType c : ReconfigurationPacket.PacketType.values()) System.out.println(c);
public static ReconfigurationPacket.PacketType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getInt()
getInt
in interface IntegerType
this
.