Enum ThreadPoolResourceDefinition
java.lang.Object
java.lang.Enum<ThreadPoolResourceDefinition>
org.jboss.as.clustering.jgroups.subsystem.ThreadPoolResourceDefinition
- All Implemented Interfaces:
Serializable,Comparable<ThreadPoolResourceDefinition>,ManagementRegistrar<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 -
Method Summary
Modifier and TypeMethodDescriptioncreateServiceConfigurator(org.jboss.as.controller.PathAddress address) org.jboss.as.controller.PathElementvoidregister(org.jboss.as.controller.registry.ManagementResourceRegistration parentRegistration) static ThreadPoolResourceDefinitionReturns 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 Details
-
DEFAULT
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 interfaceManagementRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>
-
createServiceConfigurator
public ResourceServiceConfigurator createServiceConfigurator(org.jboss.as.controller.PathAddress address) - Specified by:
createServiceConfiguratorin interfaceResourceServiceConfiguratorFactory
-
getMinThreads
- Specified by:
getMinThreadsin interfaceThreadPoolDefinition
-
getMaxThreads
- Specified by:
getMaxThreadsin interfaceThreadPoolDefinition
-
getKeepAliveTime
- Specified by:
getKeepAliveTimein interfaceThreadPoolDefinition
-
getPathElement
public org.jboss.as.controller.PathElement getPathElement()- Specified by:
getPathElementin interfaceResourceDefinitionProvider
-