Enum Class ThreadPoolResourceDefinition

java.lang.Object
java.lang.Enum<ThreadPoolResourceDefinition>
org.jboss.as.clustering.jgroups.subsystem.ThreadPoolResourceDefinition
All Implemented Interfaces:
Serializable, Comparable<ThreadPoolResourceDefinition>, Constable, ManagementRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>, ResourceDefinitionProvider, ThreadPoolDefinition, ThreadPoolServiceDescriptor, org.jboss.as.controller.Feature, org.jboss.as.controller.ResourceRegistration, org.wildfly.service.descriptor.ServiceDescriptor<ThreadPoolConfiguration>, org.wildfly.service.descriptor.UnaryServiceDescriptor<ThreadPoolConfiguration>, org.wildfly.subsystem.service.ResourceServiceConfigurator

public enum ThreadPoolResourceDefinition extends Enum<ThreadPoolResourceDefinition> implements ResourceDefinitionProvider, ThreadPoolDefinition, ThreadPoolServiceDescriptor, org.wildfly.subsystem.service.ResourceServiceConfigurator
Version:
Aug 2014
Author:
Radoslav Husar, Paul Ferraro
  • Enum Constant Details

  • Method Details

    • values

      public static ThreadPoolResourceDefinition[] 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

      public static ThreadPoolResourceDefinition valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • register

      public void register(org.jboss.as.controller.registry.ManagementResourceRegistration parentRegistration)
      Specified by:
      register in interface ManagementRegistrar<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:
      configure in interface org.wildfly.subsystem.service.ResourceServiceConfigurator
      Throws:
      org.jboss.as.controller.OperationFailedException
    • getMinThreads

      public Attribute getMinThreads()
      Specified by:
      getMinThreads in interface ThreadPoolDefinition
    • getMaxThreads

      public Attribute getMaxThreads()
      Specified by:
      getMaxThreads in interface ThreadPoolDefinition
    • getKeepAliveTime

      public Attribute getKeepAliveTime()
      Specified by:
      getKeepAliveTime in interface ThreadPoolDefinition
    • getPathElement

      public org.jboss.as.controller.PathElement getPathElement()
      Specified by:
      getPathElement in interface ResourceDefinitionProvider
      Specified by:
      getPathElement in interface org.jboss.as.controller.ResourceRegistration