Package com.arcadedb.server
Enum ReplicationCallback.TYPE
- java.lang.Object
-
- java.lang.Enum<ReplicationCallback.TYPE>
-
- com.arcadedb.server.ReplicationCallback.TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<ReplicationCallback.TYPE>
- Enclosing interface:
- ReplicationCallback
public static enum ReplicationCallback.TYPE extends Enum<ReplicationCallback.TYPE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LEADER_ELECTED
NETWORK_CONNECTION
REPLICA_FULL_RESYNC
REPLICA_HOT_RESYNC
REPLICA_MSG_RECEIVED
REPLICA_OFFLINE
REPLICA_ONLINE
SERVER_DOWN
SERVER_SHUTTING_DOWN
SERVER_STARTING
SERVER_UP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReplicationCallback.TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReplicationCallback.TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVER_STARTING
public static final ReplicationCallback.TYPE SERVER_STARTING
-
SERVER_UP
public static final ReplicationCallback.TYPE SERVER_UP
-
SERVER_SHUTTING_DOWN
public static final ReplicationCallback.TYPE SERVER_SHUTTING_DOWN
-
SERVER_DOWN
public static final ReplicationCallback.TYPE SERVER_DOWN
-
LEADER_ELECTED
public static final ReplicationCallback.TYPE LEADER_ELECTED
-
REPLICA_MSG_RECEIVED
public static final ReplicationCallback.TYPE REPLICA_MSG_RECEIVED
-
REPLICA_ONLINE
public static final ReplicationCallback.TYPE REPLICA_ONLINE
-
REPLICA_OFFLINE
public static final ReplicationCallback.TYPE REPLICA_OFFLINE
-
REPLICA_HOT_RESYNC
public static final ReplicationCallback.TYPE REPLICA_HOT_RESYNC
-
REPLICA_FULL_RESYNC
public static final ReplicationCallback.TYPE REPLICA_FULL_RESYNC
-
NETWORK_CONNECTION
public static final ReplicationCallback.TYPE NETWORK_CONNECTION
-
-
Method Detail
-
values
public static ReplicationCallback.TYPE[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ReplicationCallback.TYPE c : ReplicationCallback.TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReplicationCallback.TYPE valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-