Package org.jboss.as.ejb3.component.pool
Enum StrictMaxPoolConfigService.Derive
- java.lang.Object
-
- java.lang.Enum<StrictMaxPoolConfigService.Derive>
-
- org.jboss.as.ejb3.component.pool.StrictMaxPoolConfigService.Derive
-
- All Implemented Interfaces:
Serializable,Comparable<StrictMaxPoolConfigService.Derive>
- Enclosing class:
- StrictMaxPoolConfigService
public static enum StrictMaxPoolConfigService.Derive extends Enum<StrictMaxPoolConfigService.Derive>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FROM_CPU_COUNTFROM_WORKER_POOLSNONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StrictMaxPoolConfigService.DerivevalueOf(String name)Returns the enum constant of this type with the specified name.static StrictMaxPoolConfigService.Derive[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final StrictMaxPoolConfigService.Derive NONE
-
FROM_WORKER_POOLS
public static final StrictMaxPoolConfigService.Derive FROM_WORKER_POOLS
-
FROM_CPU_COUNT
public static final StrictMaxPoolConfigService.Derive FROM_CPU_COUNT
-
-
Method Detail
-
values
public static StrictMaxPoolConfigService.Derive[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StrictMaxPoolConfigService.Derive c : StrictMaxPoolConfigService.Derive.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StrictMaxPoolConfigService.Derive valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-