Enum ThreadPoolResourceDefinition
java.lang.Object
java.lang.Enum<ThreadPoolResourceDefinition>
org.jboss.as.clustering.infinispan.subsystem.ThreadPoolResourceDefinition
- All Implemented Interfaces:
Serializable,Comparable<ThreadPoolResourceDefinition>,ManagementRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>,ResourceDefinitionProvider,ScheduledThreadPoolDefinition,ThreadPoolDefinition,ThreadPoolServiceDescriptor,org.jboss.as.controller.Feature,org.jboss.as.controller.ResourceRegistration,org.wildfly.service.descriptor.ServiceDescriptor<org.infinispan.configuration.global.ThreadPoolConfiguration>,org.wildfly.service.descriptor.UnaryServiceDescriptor<org.infinispan.configuration.global.ThreadPoolConfiguration>,org.wildfly.subsystem.service.ResourceServiceConfigurator
public enum ThreadPoolResourceDefinition
extends Enum<ThreadPoolResourceDefinition>
implements ResourceDefinitionProvider, ThreadPoolDefinition, ThreadPoolServiceDescriptor, org.wildfly.subsystem.service.ResourceServiceConfigurator
Thread pool resource definitions for Infinispan subsystem. See
KnownComponentNames
and BlockingThreadPoolExecutorFactory.create(int, int, boolean) for the hardcoded
Infinispan default values.- Author:
- Radoslav Husar
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.as.controller.ResourceRegistration
org.jboss.as.controller.ResourceRegistration.DefaultResourceRegistrationNested classes/interfaces inherited from interface org.wildfly.service.descriptor.UnaryServiceDescriptor
org.wildfly.service.descriptor.UnaryServiceDescriptor.Provider<T extends Object> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionorg.wildfly.subsystem.service.ResourceServiceInstallerconfigure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) org.jboss.as.controller.PathElementvoidregister(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.Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.jboss.as.controller.Feature
getStabilityMethods inherited from interface org.jboss.as.clustering.infinispan.subsystem.ThreadPoolServiceDescriptor
getName, getTypeMethods inherited from interface org.wildfly.service.descriptor.UnaryServiceDescriptor
asType, resolve
-
Enum Constant Details
-
BLOCKING
-
LISTENER
-
NON_BLOCKING
-
-
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 parent) - Specified by:
registerin interfaceManagementRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>
-
configure
public org.wildfly.subsystem.service.ResourceServiceInstaller configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException - Specified by:
configurein interfaceorg.wildfly.subsystem.service.ResourceServiceConfigurator- Throws:
org.jboss.as.controller.OperationFailedException
-
getMinThreads
- Specified by:
getMinThreadsin interfaceScheduledThreadPoolDefinition
-
getMaxThreads
- Specified by:
getMaxThreadsin interfaceThreadPoolDefinition
-
getQueueLength
- Specified by:
getQueueLengthin interfaceThreadPoolDefinition
-
getKeepAliveTime
- Specified by:
getKeepAliveTimein interfaceScheduledThreadPoolDefinition
-
getPathElement
public org.jboss.as.controller.PathElement getPathElement()- Specified by:
getPathElementin interfaceResourceDefinitionProvider- Specified by:
getPathElementin interfaceorg.jboss.as.controller.ResourceRegistration
-