Package alluxio.master
Enum MasterHealthCheckClient.MasterType
- java.lang.Object
-
- java.lang.Enum<MasterHealthCheckClient.MasterType>
-
- alluxio.master.MasterHealthCheckClient.MasterType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MasterHealthCheckClient.MasterType>
- Enclosing class:
- MasterHealthCheckClient
public static enum MasterHealthCheckClient.MasterType extends java.lang.Enum<MasterHealthCheckClient.MasterType>
An enum mapping master types to fully qualified class names.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JOB_MASTERMASTER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()static MasterHealthCheckClient.MasterTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MasterHealthCheckClient.MasterType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MASTER
public static final MasterHealthCheckClient.MasterType MASTER
-
JOB_MASTER
public static final MasterHealthCheckClient.MasterType JOB_MASTER
-
-
Method Detail
-
values
public static MasterHealthCheckClient.MasterType[] 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 (MasterHealthCheckClient.MasterType c : MasterHealthCheckClient.MasterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MasterHealthCheckClient.MasterType 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
-
getClassName
public java.lang.String getClassName()
- Returns:
- the fully qualified classname associated with the master type
-
-