Package com.mapr.baseutils.tedutils
Enum TedServer.EventType
- java.lang.Object
-
- java.lang.Enum<TedServer.EventType>
-
- com.mapr.baseutils.tedutils.TedServer.EventType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TedServer.EventType>
- Enclosing class:
- TedServer
public static enum TedServer.EventType extends java.lang.Enum<TedServer.EventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CID_GENERATOR_EVENTGENERIC_CLDB_EVENTINVALID_EVENTKVSTORE_EVENTNODE_EVENTPBS_EVENTVOLUME_EVENTVOLUME_MANAGER_EVENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TedServer.EventTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TedServer.EventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NODE_EVENT
public static final TedServer.EventType NODE_EVENT
-
VOLUME_EVENT
public static final TedServer.EventType VOLUME_EVENT
-
CID_GENERATOR_EVENT
public static final TedServer.EventType CID_GENERATOR_EVENT
-
VOLUME_MANAGER_EVENT
public static final TedServer.EventType VOLUME_MANAGER_EVENT
-
KVSTORE_EVENT
public static final TedServer.EventType KVSTORE_EVENT
-
GENERIC_CLDB_EVENT
public static final TedServer.EventType GENERIC_CLDB_EVENT
-
PBS_EVENT
public static final TedServer.EventType PBS_EVENT
-
INVALID_EVENT
public static final TedServer.EventType INVALID_EVENT
-
-
Method Detail
-
values
public static TedServer.EventType[] 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 (TedServer.EventType c : TedServer.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TedServer.EventType 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
-
-