public static enum ProxyConnectionPool.AvailabilityType extends Enum<ProxyConnectionPool.AvailabilityType>
Enum Constant and Description |
---|
AVAILABLE
The host is read to accept requests
|
CLOSED
The host is closed.
|
DRAIN
The host is stopped.
|
FULL
All connections are in use, connections will be queued
|
FULL_QUEUE
All connections are in use and the queue is full.
|
PROBLEM
The host is probably down, only try as a last resort
|
Modifier and Type | Method and Description |
---|---|
static ProxyConnectionPool.AvailabilityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyConnectionPool.AvailabilityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyConnectionPool.AvailabilityType AVAILABLE
public static final ProxyConnectionPool.AvailabilityType DRAIN
public static final ProxyConnectionPool.AvailabilityType FULL
public static final ProxyConnectionPool.AvailabilityType FULL_QUEUE
public static final ProxyConnectionPool.AvailabilityType PROBLEM
public static final ProxyConnectionPool.AvailabilityType CLOSED
public static ProxyConnectionPool.AvailabilityType[] values()
for (ProxyConnectionPool.AvailabilityType c : ProxyConnectionPool.AvailabilityType.values()) System.out.println(c);
public static ProxyConnectionPool.AvailabilityType 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 JBoss by Red Hat. All rights reserved.