public static enum NodeStats.RequestType extends java.lang.Enum<NodeStats.RequestType>
Enum Constant and Description |
---|
CHK_INSERT |
CHK_OFFER_FETCH |
CHK_REQUEST |
SSK_INSERT |
SSK_OFFER_FETCH |
SSK_REQUEST |
Modifier and Type | Method and Description |
---|---|
static NodeStats.RequestType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeStats.RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeStats.RequestType CHK_REQUEST
public static final NodeStats.RequestType SSK_REQUEST
public static final NodeStats.RequestType CHK_INSERT
public static final NodeStats.RequestType SSK_INSERT
public static final NodeStats.RequestType CHK_OFFER_FETCH
public static final NodeStats.RequestType SSK_OFFER_FETCH
public static NodeStats.RequestType[] values()
for (NodeStats.RequestType c : NodeStats.RequestType.values()) System.out.println(c);
public static NodeStats.RequestType 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 null