public enum ThreadPoolResourceDefinition extends Enum<ThreadPoolResourceDefinition> implements ResourceDefinitionProvider, ThreadPoolDefinition, ResourceServiceConfiguratorFactory
| Enum Constant and Description |
|---|
DEFAULT |
INTERNAL
Deprecated.
|
OOB
Deprecated.
|
TIMER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceServiceConfigurator |
createServiceConfigurator(org.jboss.as.controller.PathAddress address) |
Attribute |
getKeepAliveTime() |
Attribute |
getMaxThreads() |
Attribute |
getMinThreads() |
org.jboss.as.controller.PathElement |
getPathElement() |
void |
register(org.jboss.as.controller.registry.ManagementResourceRegistration parentRegistration) |
static ThreadPoolResourceDefinition |
valueOf(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.
|
public static final ThreadPoolResourceDefinition DEFAULT
@Deprecated public static final ThreadPoolResourceDefinition OOB
@Deprecated public static final ThreadPoolResourceDefinition INTERNAL
@Deprecated public static final ThreadPoolResourceDefinition TIMER
public static ThreadPoolResourceDefinition[] values()
for (ThreadPoolResourceDefinition c : ThreadPoolResourceDefinition.values()) System.out.println(c);
public static ThreadPoolResourceDefinition 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 nullpublic void register(org.jboss.as.controller.registry.ManagementResourceRegistration parentRegistration)
register in interface Registration<org.jboss.as.controller.registry.ManagementResourceRegistration>public ResourceServiceConfigurator createServiceConfigurator(org.jboss.as.controller.PathAddress address)
createServiceConfigurator in interface ResourceServiceConfiguratorFactorypublic Attribute getMinThreads()
getMinThreads in interface ThreadPoolDefinitionpublic Attribute getMaxThreads()
getMaxThreads in interface ThreadPoolDefinitionpublic Attribute getKeepAliveTime()
getKeepAliveTime in interface ThreadPoolDefinitionpublic org.jboss.as.controller.PathElement getPathElement()
getPathElement in interface ResourceDefinitionProviderCopyright © 2021 JBoss by Red Hat. All rights reserved.