public enum ScheduledThreadPoolResourceDefinition extends Enum<ScheduledThreadPoolResourceDefinition> implements org.jboss.as.controller.ResourceDefinition, Registration<org.jboss.as.controller.registry.ManagementResourceRegistration>, ScheduledThreadPoolDefinition
KnownComponentNames
and BlockingThreadPoolExecutorFactory.create(int, int)
for the hardcoded Infinispan default values.Enum Constant and Description |
---|
EXPIRATION |
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() |
org.jboss.as.controller.PathElement |
getPathElement() |
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 ScheduledThreadPoolResourceDefinition |
valueOf(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.
|
public static final ScheduledThreadPoolResourceDefinition EXPIRATION
public static ScheduledThreadPoolResourceDefinition[] values()
for (ScheduledThreadPoolResourceDefinition c : ScheduledThreadPoolResourceDefinition.values()) System.out.println(c);
public static ScheduledThreadPoolResourceDefinition 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 getMaxThreads()
getMaxThreads
in interface ScheduledThreadPoolDefinition
public Attribute getKeepAliveTime()
getKeepAliveTime
in interface ScheduledThreadPoolDefinition
Copyright © 2018 JBoss by Red Hat. All rights reserved.