Enum Class ScheduledThreadPoolResourceDefinition
java.lang.Object
java.lang.Enum<ScheduledThreadPoolResourceDefinition>
org.jboss.as.clustering.infinispan.subsystem.ScheduledThreadPoolResourceDefinition
- All Implemented Interfaces:
Serializable,Comparable<ScheduledThreadPoolResourceDefinition>,Constable,ManagementRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>,ResourceDefinitionProvider,ScheduledThreadPoolDefinition,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 ScheduledThreadPoolResourceDefinition
extends Enum<ScheduledThreadPoolResourceDefinition>
implements ResourceDefinitionProvider, ScheduledThreadPoolDefinition, ThreadPoolServiceDescriptor, org.wildfly.subsystem.service.ResourceServiceConfigurator
Scheduled thread pool resource definitions for Infinispan subsystem.
See
KnownComponentNames and org.infinispan.commons.executors.BlockingThreadPoolExecutorFactory#create(int, int)
for the hardcoded Infinispan default values.- Author:
- Radoslav Husar
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>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) Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, 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
-
EXPIRATION
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
-
getPathElement
public org.jboss.as.controller.PathElement getPathElement()- Specified by:
getPathElementin interfaceResourceDefinitionProvider- Specified by:
getPathElementin interfaceorg.jboss.as.controller.ResourceRegistration
-
getMinThreads
- Specified by:
getMinThreadsin interfaceScheduledThreadPoolDefinition
-
getKeepAliveTime
- Specified by:
getKeepAliveTimein interfaceScheduledThreadPoolDefinition
-