public enum PeerStatus extends java.lang.Enum<PeerStatus>
Enum Constant and Description |
---|
DOWN
The DataSource peer is disconnected.
|
UP
The DataSource peer is connected.
|
Modifier and Type | Method and Description |
---|---|
static PeerStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PeerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeerStatus UP
public static final PeerStatus DOWN
public static PeerStatus[] values()
for (PeerStatus c : PeerStatus.values()) System.out.println(c);
public static PeerStatus 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 nullPlease send bug reports and comments to Caplin support