Enum ThreadPoolResourceDefinition
java.lang.Object
java.lang.Enum<ThreadPoolResourceDefinition>
org.jboss.as.clustering.infinispan.subsystem.ThreadPoolResourceDefinition
- All Implemented Interfaces:
Serializable,Comparable<ThreadPoolResourceDefinition>,Function<org.jboss.as.controller.SimpleResourceDefinition.Parameters,,org.jboss.as.controller.SimpleResourceDefinition.Parameters> UnaryOperator<org.jboss.as.controller.SimpleResourceDefinition.Parameters>,ManagementRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>,ResourceDefinitionProvider,ResourceServiceConfiguratorFactory,ResourceServiceNameFactory,ScheduledThreadPoolDefinition,ThreadPoolDefinition
public enum ThreadPoolResourceDefinition
extends Enum<ThreadPoolResourceDefinition>
implements ResourceDefinitionProvider, ThreadPoolDefinition, ResourceServiceConfiguratorFactory, UnaryOperator<org.jboss.as.controller.SimpleResourceDefinition.Parameters>
Thread pool resource definitions for Infinispan subsystem. See
KnownComponentNames
and BlockingThreadPoolExecutorFactory.create(int, int, boolean) for the hardcoded
Infinispan default values.- Author:
- Radoslav Husar
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.as.controller.SimpleResourceDefinition.Parametersapply(org.jboss.as.controller.SimpleResourceDefinition.Parameters parameters) createServiceConfigurator(org.jboss.as.controller.PathAddress address) org.jboss.as.controller.PathElementorg.jboss.msc.service.ServiceNamegetServiceName(org.jboss.as.controller.PathAddress containerAddress) booleanvoidregister(org.jboss.as.controller.registry.ManagementResourceRegistration parent) 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
-
BLOCKING
-
LISTENER
-
NON_BLOCKING
-
CLIENT
-
-
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
-
apply
public org.jboss.as.controller.SimpleResourceDefinition.Parameters apply(org.jboss.as.controller.SimpleResourceDefinition.Parameters parameters) -
register
public void register(org.jboss.as.controller.registry.ManagementResourceRegistration parent) - Specified by:
registerin interfaceManagementRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>
-
createServiceConfigurator
public ResourceServiceConfigurator createServiceConfigurator(org.jboss.as.controller.PathAddress address) - Specified by:
createServiceConfiguratorin interfaceResourceServiceConfiguratorFactory
-
getServiceName
public org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.PathAddress containerAddress) - Specified by:
getServiceNamein interfaceResourceServiceNameFactory
-
getMinThreads
- Specified by:
getMinThreadsin interfaceScheduledThreadPoolDefinition
-
getMaxThreads
- Specified by:
getMaxThreadsin interfaceThreadPoolDefinition
-
getQueueLength
- Specified by:
getQueueLengthin interfaceThreadPoolDefinition
-
getKeepAliveTime
- Specified by:
getKeepAliveTimein interfaceScheduledThreadPoolDefinition
-
isNonBlocking
public boolean isNonBlocking()- Specified by:
isNonBlockingin interfaceThreadPoolDefinition
-
getPathElement
public org.jboss.as.controller.PathElement getPathElement()- Specified by:
getPathElementin interfaceResourceDefinitionProvider
-