public enum RawAndDerivedResource extends java.lang.Enum<RawAndDerivedResource>
Enum Constant and Description |
---|
CPU |
DISK |
FOLLOWER_NW_IN |
LEADER_NW_IN |
NW_OUT |
PWN_NW_OUT |
REPLICAS |
Modifier and Type | Method and Description |
---|---|
Resource |
derivedFrom() |
static RawAndDerivedResource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RawAndDerivedResource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RawAndDerivedResource DISK
public static final RawAndDerivedResource CPU
public static final RawAndDerivedResource LEADER_NW_IN
public static final RawAndDerivedResource FOLLOWER_NW_IN
public static final RawAndDerivedResource NW_OUT
public static final RawAndDerivedResource PWN_NW_OUT
public static final RawAndDerivedResource REPLICAS
public static RawAndDerivedResource[] values()
for (RawAndDerivedResource c : RawAndDerivedResource.values()) System.out.println(c);
public static RawAndDerivedResource 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 Resource derivedFrom()