public enum ThreadPoolResourceDefinition extends Enum<ThreadPoolResourceDefinition> implements ResourceDefinitionProvider, ThreadPoolDefinition, ResourceServiceConfiguratorFactory, BiConsumer<org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder,org.jboss.as.controller.ModelVersion>
| Enum Constant and Description |
|---|
DEFAULT |
INTERNAL
Deprecated.
|
OOB
Deprecated.
|
TIMER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder builder,
org.jboss.as.controller.ModelVersion version) |
void |
buildTransformation(org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder parent,
org.jboss.as.controller.ModelVersion version) |
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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfandThenpublic 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 ResourceDefinitionProviderpublic void buildTransformation(org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder parent,
org.jboss.as.controller.ModelVersion version)
buildTransformation in interface ResourceDefinitionProviderpublic void accept(org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder builder,
org.jboss.as.controller.ModelVersion version)
accept in interface BiConsumer<org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder,org.jboss.as.controller.ModelVersion>Copyright © 2020 JBoss by Red Hat. All rights reserved.