public static enum ResourcePool.ResourceUsageErrorPolicy extends Enum<ResourcePool.ResourceUsageErrorPolicy>
Modifier and Type | Method and Description |
---|---|
static ResourcePool.ResourceUsageErrorPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourcePool.ResourceUsageErrorPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourcePool.ResourceUsageErrorPolicy RETIRE
public static final ResourcePool.ResourceUsageErrorPolicy RECYCLE
public static ResourcePool.ResourceUsageErrorPolicy[] values()
for (ResourcePool.ResourceUsageErrorPolicy c : ResourcePool.ResourceUsageErrorPolicy.values()) System.out.println(c);
public static ResourcePool.ResourceUsageErrorPolicy 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 null