public static enum DynamicResourcePool.SelectionPolicy extends Enum<DynamicResourcePool.SelectionPolicy>
Modifier and Type | Method and Description |
---|---|
static DynamicResourcePool.SelectionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DynamicResourcePool.SelectionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DynamicResourcePool.SelectionPolicy FIFO
public static final DynamicResourcePool.SelectionPolicy LIFO
public static DynamicResourcePool.SelectionPolicy[] values()
for (DynamicResourcePool.SelectionPolicy c : DynamicResourcePool.SelectionPolicy.values()) System.out.println(c);
public static DynamicResourcePool.SelectionPolicy 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 © 2023. All Rights Reserved.