public static enum ObjectPool.Strategy extends Enum<ObjectPool.Strategy>
| Enum Constant and Description |
|---|
SELECT_FIFO |
SELECT_LIFO |
SELECT_RANDOM |
| Modifier and Type | Method and Description |
|---|---|
static ObjectPool.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectPool.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectPool.Strategy SELECT_FIFO
public static final ObjectPool.Strategy SELECT_LIFO
public static final ObjectPool.Strategy SELECT_RANDOM
public static ObjectPool.Strategy[] values()
for (ObjectPool.Strategy c : ObjectPool.Strategy.values()) System.out.println(c);
public static ObjectPool.Strategy 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 © 2014. All rights reserved.