public enum ThreadPoolResourceDefinition extends Enum<ThreadPoolResourceDefinition> implements org.jboss.as.controller.ResourceDefinition, Registration<org.jboss.as.controller.registry.ManagementResourceRegistration>, ThreadPoolDefinition
KnownComponentNames
and BlockingThreadPoolExecutorFactory.create(int, int)
for the hardcoded
Infinispan default values.Enum Constant and Description |
---|
ASYNC_OPERATIONS |
LISTENER |
PERSISTENCE |
REMOTE_COMMAND |
STATE_TRANSFER |
TRANSPORT |
DEFAULT_GROUP
Modifier and Type | Method and Description |
---|---|
List<org.jboss.as.controller.access.management.AccessConstraintDefinition> |
getAccessConstraints() |
org.jboss.as.controller.descriptions.DescriptionProvider |
getDescriptionProvider(org.jboss.as.controller.registry.ImmutableManagementResourceRegistration registration) |
Attribute |
getKeepAliveTime() |
Attribute |
getMaxThreads() |
Attribute |
getMinThreads() |
org.jboss.as.controller.PathElement |
getPathElement() |
Attribute |
getQueueLength() |
org.jboss.msc.service.ServiceName |
getServiceName(String containerName) |
boolean |
isOrderedChild() |
boolean |
isRuntime() |
void |
register(org.jboss.as.controller.registry.ManagementResourceRegistration registration)
Registers this object with a resource.
|
void |
registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration registration) |
void |
registerChildren(org.jboss.as.controller.registry.ManagementResourceRegistration registration) |
void |
registerNotifications(org.jboss.as.controller.registry.ManagementResourceRegistration registration) |
void |
registerOperations(org.jboss.as.controller.registry.ManagementResourceRegistration registration) |
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.
|
public static final ThreadPoolResourceDefinition ASYNC_OPERATIONS
public static final ThreadPoolResourceDefinition LISTENER
public static final ThreadPoolResourceDefinition PERSISTENCE
public static final ThreadPoolResourceDefinition REMOTE_COMMAND
public static final ThreadPoolResourceDefinition STATE_TRANSFER
public static final ThreadPoolResourceDefinition TRANSPORT
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.PathElement getPathElement()
getPathElement
in interface org.jboss.as.controller.ResourceDefinition
public org.jboss.as.controller.descriptions.DescriptionProvider getDescriptionProvider(org.jboss.as.controller.registry.ImmutableManagementResourceRegistration registration)
getDescriptionProvider
in interface org.jboss.as.controller.ResourceDefinition
public void registerOperations(org.jboss.as.controller.registry.ManagementResourceRegistration registration)
registerOperations
in interface org.jboss.as.controller.ResourceDefinition
public void registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration registration)
registerAttributes
in interface org.jboss.as.controller.ResourceDefinition
public void registerNotifications(org.jboss.as.controller.registry.ManagementResourceRegistration registration)
registerNotifications
in interface org.jboss.as.controller.ResourceDefinition
public void registerChildren(org.jboss.as.controller.registry.ManagementResourceRegistration registration)
registerChildren
in interface org.jboss.as.controller.ResourceDefinition
public List<org.jboss.as.controller.access.management.AccessConstraintDefinition> getAccessConstraints()
getAccessConstraints
in interface org.jboss.as.controller.ResourceDefinition
public boolean isRuntime()
isRuntime
in interface org.jboss.as.controller.ResourceDefinition
public boolean isOrderedChild()
isOrderedChild
in interface org.jboss.as.controller.ResourceDefinition
public void register(org.jboss.as.controller.registry.ManagementResourceRegistration registration)
Registration
register
in interface Registration<org.jboss.as.controller.registry.ManagementResourceRegistration>
registration
- a registration for a management resourcepublic org.jboss.msc.service.ServiceName getServiceName(String containerName)
getServiceName
in interface GroupServiceNameFactory
public Attribute getMinThreads()
getMinThreads
in interface ThreadPoolDefinition
public Attribute getMaxThreads()
getMaxThreads
in interface ThreadPoolDefinition
public Attribute getQueueLength()
getQueueLength
in interface ThreadPoolDefinition
public Attribute getKeepAliveTime()
getKeepAliveTime
in interface ThreadPoolDefinition
Copyright © 2017 JBoss by Red Hat. All rights reserved.