public static enum ConnectionController.State extends Enum<ConnectionController.State>
| Enum Constant and Description |
|---|
OK |
REACH_MAX_CONNECTION |
REACH_MAX_CONNECTION_PER_IP |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionController.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionController.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionController.State OK
public static final ConnectionController.State REACH_MAX_CONNECTION_PER_IP
public static final ConnectionController.State REACH_MAX_CONNECTION
public static ConnectionController.State[] values()
for (ConnectionController.State c : ConnectionController.State.values()) System.out.println(c);
public static ConnectionController.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 © 2017–2022 Apache Software Foundation. All rights reserved.