public static enum BinaryStarReactor.Event extends Enum<BinaryStarReactor.Event>
Enum Constant and Description |
---|
CLIENT_REQUEST
Client makes request.
|
PEER_ACTIVE
HA peer is active.
|
PEER_BACKUP
HA peer is pending backup.
|
PEER_PASSIVE
HA peer is passive.
|
PEER_PRIMARY
HA peer is pending primary.
|
Modifier and Type | Method and Description |
---|---|
static BinaryStarReactor.Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryStarReactor.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryStarReactor.Event PEER_PRIMARY
public static final BinaryStarReactor.Event PEER_BACKUP
public static final BinaryStarReactor.Event PEER_ACTIVE
public static final BinaryStarReactor.Event PEER_PASSIVE
public static final BinaryStarReactor.Event CLIENT_REQUEST
public static BinaryStarReactor.Event[] values()
for (BinaryStarReactor.Event c : BinaryStarReactor.Event.values()) System.out.println(c);
public static BinaryStarReactor.Event 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.