public enum PooledObjectState extends java.lang.Enum<PooledObjectState>
PooledObject may be in.| Enum Constant | Description |
|---|---|
ABANDONED |
Deemed abandoned, to be invalidated.
|
ALLOCATED |
In use.
|
EVICTION |
In the queue, currently being tested for possible eviction.
|
EVICTION_RETURN_TO_HEAD |
Not in the queue, currently being tested for possible eviction.
|
IDLE |
In the queue, not in use.
|
INVALID |
Failed maintenance (e.g.
|
RETURNING |
Returning to the pool.
|
VALIDATION |
In the queue, currently being validated.
|
VALIDATION_PREALLOCATED |
Not in queue, currently being validated.
|
VALIDATION_RETURN_TO_HEAD |
Not in queue, currently being validated.
|
| Modifier and Type | Method | Description |
|---|---|---|
static PooledObjectState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static PooledObjectState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PooledObjectState ABANDONED
public static final PooledObjectState ALLOCATED
public static final PooledObjectState EVICTION
public static final PooledObjectState EVICTION_RETURN_TO_HEAD
public static final PooledObjectState IDLE
public static final PooledObjectState INVALID
public static final PooledObjectState RETURNING
public static final PooledObjectState VALIDATION
public static final PooledObjectState VALIDATION_PREALLOCATED
public static final PooledObjectState VALIDATION_RETURN_TO_HEAD
public static PooledObjectState 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 nullpublic static PooledObjectState[] values()
for (PooledObjectState c : PooledObjectState.values()) System.out.println(c);
Copyright © 2001-2014 Apache Software Foundation. Documenation generated March 25 2019.