Enum ScheduledThreadPoolResourceDefinition
- java.lang.Object
-
- java.lang.Enum<ScheduledThreadPoolResourceDefinition>
-
- org.jboss.as.clustering.infinispan.subsystem.ScheduledThreadPoolResourceDefinition
-
- All Implemented Interfaces:
Serializable,Comparable<ScheduledThreadPoolResourceDefinition>,Registration<org.jboss.as.controller.registry.ManagementResourceRegistration>,ResourceDefinitionProvider,ResourceServiceConfiguratorFactory,ResourceServiceNameFactory,ScheduledThreadPoolDefinition
public enum ScheduledThreadPoolResourceDefinition extends Enum<ScheduledThreadPoolResourceDefinition> implements ResourceDefinitionProvider, ScheduledThreadPoolDefinition, ResourceServiceConfiguratorFactory
Scheduled thread pool resource definitions for Infinispan subsystem. SeeKnownComponentNamesandorg.infinispan.commons.executors.BlockingThreadPoolExecutorFactory#create(int, int)for the hardcoded Infinispan default values.- Author:
- Radoslav Husar
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPIRATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceServiceConfiguratorcreateServiceConfigurator(org.jboss.as.controller.PathAddress address)AttributegetKeepAliveTime()AttributegetMinThreads()org.jboss.as.controller.PathElementgetPathElement()org.jboss.msc.service.ServiceNamegetServiceName(org.jboss.as.controller.PathAddress containerAddress)voidregister(org.jboss.as.controller.registry.ManagementResourceRegistration parent)static ScheduledThreadPoolResourceDefinitionvalueOf(String name)Returns the enum constant of this type with the specified name.static ScheduledThreadPoolResourceDefinition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPIRATION
public static final ScheduledThreadPoolResourceDefinition EXPIRATION
-
-
Method Detail
-
values
public static ScheduledThreadPoolResourceDefinition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ScheduledThreadPoolResourceDefinition c : ScheduledThreadPoolResourceDefinition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScheduledThreadPoolResourceDefinition valueOf(String name)
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 interfaceRegistration<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
public Attribute getMinThreads()
- Specified by:
getMinThreadsin interfaceScheduledThreadPoolDefinition
-
getKeepAliveTime
public Attribute getKeepAliveTime()
- Specified by:
getKeepAliveTimein interfaceScheduledThreadPoolDefinition
-
getPathElement
public org.jboss.as.controller.PathElement getPathElement()
- Specified by:
getPathElementin interfaceResourceDefinitionProvider
-
-