public static enum RpcStats.Type extends java.lang.Enum<RpcStats.Type>
Modifier and Type | Method and Description |
---|---|
static RpcStats.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RpcStats.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcStats.Type MULTICAST
public static final RpcStats.Type UNICAST
public static final RpcStats.Type ANYCAST
public static RpcStats.Type[] values()
for (RpcStats.Type c : RpcStats.Type.values()) System.out.println(c);
public static RpcStats.Type 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 nullCopyright © 1998-2020 Red Hat. All Rights Reserved.