public enum ThreadPoolResourceDefinition extends Enum<ThreadPoolResourceDefinition> implements org.jboss.as.clustering.controller.ResourceDefinitionProvider, ThreadPoolDefinition, org.jboss.as.clustering.controller.ResourceServiceConfiguratorFactory, UnaryOperator<org.jboss.as.controller.SimpleResourceDefinition.Parameters>, BiConsumer<org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder,org.jboss.as.controller.ModelVersion>
org.infinispan.factories.KnownComponentNames
and BlockingThreadPoolExecutorFactory.create(int, int, boolean) for the hardcoded
Infinispan default values.| Enum Constant and Description |
|---|
ASYNC_OPERATIONS |
CLIENT |
LISTENER |
PERSISTENCE |
REMOTE_COMMAND |
STATE_TRANSFER
Deprecated.
|
TRANSPORT |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder builder,
org.jboss.as.controller.ModelVersion version) |
org.jboss.as.controller.SimpleResourceDefinition.Parameters |
apply(org.jboss.as.controller.SimpleResourceDefinition.Parameters parameters) |
void |
buildTransformation(org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder parent,
org.jboss.as.controller.ModelVersion version) |
org.jboss.as.clustering.controller.ResourceServiceConfigurator |
createServiceConfigurator(org.jboss.as.controller.PathAddress address) |
org.jboss.as.clustering.controller.Attribute |
getKeepAliveTime() |
org.jboss.as.clustering.controller.Attribute |
getMaxThreads() |
org.jboss.as.clustering.controller.Attribute |
getMinThreads() |
org.jboss.as.controller.PathElement |
getPathElement() |
org.jboss.as.clustering.controller.Attribute |
getQueueLength() |
org.jboss.msc.service.ServiceName |
getServiceName(org.jboss.as.controller.PathAddress containerAddress) |
boolean |
isNonBlocking() |
void |
register(org.jboss.as.controller.registry.ManagementResourceRegistration parent) |
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, valueOfidentityandThenpublic static final ThreadPoolResourceDefinition ASYNC_OPERATIONS
public static final ThreadPoolResourceDefinition LISTENER
public static final ThreadPoolResourceDefinition PERSISTENCE
public static final ThreadPoolResourceDefinition REMOTE_COMMAND
@Deprecated public static final ThreadPoolResourceDefinition STATE_TRANSFER
public static final ThreadPoolResourceDefinition TRANSPORT
public static final ThreadPoolResourceDefinition CLIENT
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 org.jboss.as.controller.SimpleResourceDefinition.Parameters apply(org.jboss.as.controller.SimpleResourceDefinition.Parameters parameters)
public void register(org.jboss.as.controller.registry.ManagementResourceRegistration parent)
register in interface org.jboss.as.clustering.controller.Registration<org.jboss.as.controller.registry.ManagementResourceRegistration>public org.jboss.as.clustering.controller.ResourceServiceConfigurator createServiceConfigurator(org.jboss.as.controller.PathAddress address)
createServiceConfigurator in interface org.jboss.as.clustering.controller.ResourceServiceConfiguratorFactorypublic org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.PathAddress containerAddress)
getServiceName in interface org.jboss.as.clustering.controller.ResourceServiceNameFactorypublic org.jboss.as.clustering.controller.Attribute getMinThreads()
getMinThreads in interface ScheduledThreadPoolDefinitionpublic org.jboss.as.clustering.controller.Attribute getMaxThreads()
getMaxThreads in interface ThreadPoolDefinitionpublic org.jboss.as.clustering.controller.Attribute getQueueLength()
getQueueLength in interface ThreadPoolDefinitionpublic org.jboss.as.clustering.controller.Attribute getKeepAliveTime()
getKeepAliveTime in interface ScheduledThreadPoolDefinitionpublic boolean isNonBlocking()
isNonBlocking in interface ThreadPoolDefinitionpublic org.jboss.as.controller.PathElement getPathElement()
getPathElement in interface org.jboss.as.clustering.controller.ResourceDefinitionProviderpublic void buildTransformation(org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder parent,
org.jboss.as.controller.ModelVersion version)
buildTransformation in interface org.jboss.as.clustering.controller.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.