Package org.apache.cassandra.gms
Enum GossiperEvent.GossiperEventType
- java.lang.Object
-
- java.lang.Enum<GossiperEvent.GossiperEventType>
-
- org.apache.cassandra.gms.GossiperEvent.GossiperEventType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GossiperEvent.GossiperEventType>
- Enclosing class:
- GossiperEvent
public static enum GossiperEvent.GossiperEventType extends java.lang.Enum<GossiperEvent.GossiperEventType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GossiperEvent.GossiperEventType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GossiperEvent.GossiperEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MARKED_AS_SHUTDOWN
public static final GossiperEvent.GossiperEventType MARKED_AS_SHUTDOWN
-
CONVICTED
public static final GossiperEvent.GossiperEventType CONVICTED
-
REPLACEMENT_QUARANTINE
public static final GossiperEvent.GossiperEventType REPLACEMENT_QUARANTINE
-
REPLACED_ENDPOINT
public static final GossiperEvent.GossiperEventType REPLACED_ENDPOINT
-
EVICTED_FROM_MEMBERSHIP
public static final GossiperEvent.GossiperEventType EVICTED_FROM_MEMBERSHIP
-
REMOVED_ENDPOINT
public static final GossiperEvent.GossiperEventType REMOVED_ENDPOINT
-
QUARANTINED_ENDPOINT
public static final GossiperEvent.GossiperEventType QUARANTINED_ENDPOINT
-
MARKED_ALIVE
public static final GossiperEvent.GossiperEventType MARKED_ALIVE
-
REAL_MARKED_ALIVE
public static final GossiperEvent.GossiperEventType REAL_MARKED_ALIVE
-
MARKED_DEAD
public static final GossiperEvent.GossiperEventType MARKED_DEAD
-
MAJOR_STATE_CHANGE_HANDLED
public static final GossiperEvent.GossiperEventType MAJOR_STATE_CHANGE_HANDLED
-
SEND_GOSSIP_DIGEST_SYN
public static final GossiperEvent.GossiperEventType SEND_GOSSIP_DIGEST_SYN
-
-
Method Detail
-
values
public static GossiperEvent.GossiperEventType[] 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 (GossiperEvent.GossiperEventType c : GossiperEvent.GossiperEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GossiperEvent.GossiperEventType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-