Enum Class ThreadPoolResourceDefinitionRegistrar

java.lang.Object
java.lang.Enum<ThreadPoolResourceDefinitionRegistrar>
org.jboss.as.clustering.jgroups.subsystem.ThreadPoolResourceDefinitionRegistrar
All Implemented Interfaces:
Serializable, Comparable<ThreadPoolResourceDefinitionRegistrar>, Constable, ThreadPoolResourceRegistration, 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.resource.ChildResourceDefinitionRegistrar, org.wildfly.subsystem.resource.ResourceDefinitionRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>, org.wildfly.subsystem.service.ResourceServiceConfigurator

public enum ThreadPoolResourceDefinitionRegistrar extends Enum<ThreadPoolResourceDefinitionRegistrar> implements org.wildfly.subsystem.resource.ChildResourceDefinitionRegistrar, ThreadPoolResourceRegistration, org.wildfly.subsystem.service.ResourceServiceConfigurator
Registers a resource definition for a JGroups thread pool.
Version:
Aug 2014
Author:
Radoslav Husar, Paul Ferraro
  • 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.DefaultResourceRegistration

    Nested classes/interfaces inherited from interface org.wildfly.service.descriptor.UnaryServiceDescriptor

    org.wildfly.service.descriptor.UnaryServiceDescriptor.Provider<T extends Object>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.wildfly.subsystem.service.ResourceServiceInstaller
    configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)
     
     
    org.jboss.as.controller.AttributeDefinition
     
    org.jboss.as.controller.AttributeDefinition
     
    org.jboss.as.controller.PathElement
     
    org.jboss.as.controller.registry.ManagementResourceRegistration
    register(org.jboss.as.controller.registry.ManagementResourceRegistration parent, org.wildfly.subsystem.resource.ManagementResourceRegistrationContext context)
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.jboss.as.controller.Feature

    getStability

    Methods inherited from interface org.jboss.as.clustering.jgroups.subsystem.ThreadPoolResourceRegistration

    getName, getType

    Methods inherited from interface org.wildfly.service.descriptor.UnaryServiceDescriptor

    asType, resolve
  • Enum Constant Details

  • Method Details

    • values

      public static ThreadPoolResourceDefinitionRegistrar[] 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 ThreadPoolResourceDefinitionRegistrar 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 org.jboss.as.controller.registry.ManagementResourceRegistration register(org.jboss.as.controller.registry.ManagementResourceRegistration parent, org.wildfly.subsystem.resource.ManagementResourceRegistrationContext context)
      Specified by:
      register in interface org.wildfly.subsystem.resource.ResourceDefinitionRegistrar<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 org.jboss.as.controller.AttributeDefinition getMinThreads()
      Specified by:
      getMinThreads in interface ThreadPoolResourceRegistration
    • getMaxThreads

      public org.jboss.as.controller.AttributeDefinition getMaxThreads()
      Specified by:
      getMaxThreads in interface ThreadPoolResourceRegistration
    • getKeepAlive

      public DurationAttributeDefinition getKeepAlive()
      Specified by:
      getKeepAlive in interface ThreadPoolResourceRegistration
    • getPathElement

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