Enum ThreadPoolResourceDefinition
- java.lang.Object
-
- java.lang.Enum<ThreadPoolResourceDefinition>
-
- org.jboss.as.clustering.jgroups.subsystem.ThreadPoolResourceDefinition
-
- All Implemented Interfaces:
Serializable,Comparable<ThreadPoolResourceDefinition>,Registration<org.jboss.as.controller.registry.ManagementResourceRegistration>,ResourceDefinitionProvider,ResourceServiceConfiguratorFactory,ThreadPoolDefinition
public enum ThreadPoolResourceDefinition extends Enum<ThreadPoolResourceDefinition> implements ResourceDefinitionProvider, ThreadPoolDefinition, ResourceServiceConfiguratorFactory
- Version:
- Aug 2014
- Author:
- Radoslav Husar, Paul Ferraro
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceServiceConfiguratorcreateServiceConfigurator(org.jboss.as.controller.PathAddress address)AttributegetKeepAliveTime()AttributegetMaxThreads()AttributegetMinThreads()org.jboss.as.controller.PathElementgetPathElement()voidregister(org.jboss.as.controller.registry.ManagementResourceRegistration parentRegistration)static ThreadPoolResourceDefinitionvalueOf(String name)Returns the enum constant of this type with the specified name.static ThreadPoolResourceDefinition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final ThreadPoolResourceDefinition DEFAULT
-
-
Method Detail
-
values
public static ThreadPoolResourceDefinition[] 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 (ThreadPoolResourceDefinition c : ThreadPoolResourceDefinition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThreadPoolResourceDefinition 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
-
register
public void register(org.jboss.as.controller.registry.ManagementResourceRegistration parentRegistration)
- Specified by:
registerin interfaceRegistration<org.jboss.as.controller.registry.ManagementResourceRegistration>
-
createServiceConfigurator
public ResourceServiceConfigurator createServiceConfigurator(org.jboss.as.controller.PathAddress address)
- Specified by:
createServiceConfiguratorin interfaceResourceServiceConfiguratorFactory
-
getMinThreads
public Attribute getMinThreads()
- Specified by:
getMinThreadsin interfaceThreadPoolDefinition
-
getMaxThreads
public Attribute getMaxThreads()
- Specified by:
getMaxThreadsin interfaceThreadPoolDefinition
-
getKeepAliveTime
public Attribute getKeepAliveTime()
- Specified by:
getKeepAliveTimein interfaceThreadPoolDefinition
-
getPathElement
public org.jboss.as.controller.PathElement getPathElement()
- Specified by:
getPathElementin interfaceResourceDefinitionProvider
-
-