public static enum BinaryStarReactor.State extends Enum<BinaryStarReactor.State>
Enum Constant and Description |
---|
ACTIVE
Active - accepting connections.
|
BACKUP_CONNECTING
Backup, waiting for peer to connect.
|
PASSIVE
Passive - Not accepting connections.
|
PRIMARY_CONNECTING
Primary, waiting for peer to connect.
|
Modifier and Type | Method and Description |
---|---|
static BinaryStarReactor.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryStarReactor.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryStarReactor.State PRIMARY_CONNECTING
public static final BinaryStarReactor.State BACKUP_CONNECTING
public static final BinaryStarReactor.State ACTIVE
public static final BinaryStarReactor.State PASSIVE
public static BinaryStarReactor.State[] values()
for (BinaryStarReactor.State c : BinaryStarReactor.State.values()) System.out.println(c);
public static BinaryStarReactor.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.