Enum Class ClientThreadPoolResourceDefinition

java.lang.Object
java.lang.Enum<ClientThreadPoolResourceDefinition>
org.jboss.as.clustering.infinispan.subsystem.remote.ClientThreadPoolResourceDefinition
All Implemented Interfaces:
Serializable, Comparable<ClientThreadPoolResourceDefinition>, Constable, ManagementRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>, ResourceDefinitionProvider, ExecutorFactoryServiceDescriptor, ScheduledThreadPoolDefinition, ThreadPoolDefinition, org.jboss.as.controller.Feature, org.jboss.as.controller.ResourceRegistration, org.wildfly.service.descriptor.ServiceDescriptor<org.infinispan.client.hotrod.configuration.ExecutorFactoryConfiguration>, org.wildfly.service.descriptor.UnaryServiceDescriptor<org.infinispan.client.hotrod.configuration.ExecutorFactoryConfiguration>, org.wildfly.subsystem.service.ResourceServiceConfigurator

public enum ClientThreadPoolResourceDefinition extends Enum<ClientThreadPoolResourceDefinition> implements ResourceDefinitionProvider, ThreadPoolDefinition, ExecutorFactoryServiceDescriptor, org.wildfly.subsystem.service.ResourceServiceConfigurator
Thread pool resource definitions for Infinispan subsystem. See KnownComponentNames and BlockingThreadPoolExecutorFactory.create(int, int, boolean) for the hardcoded Infinispan default values.
Author:
Radoslav Husar
  • Enum Constant Details

  • Method Details

    • values

      public static ClientThreadPoolResourceDefinition[] 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 ClientThreadPoolResourceDefinition 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 parent)
      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 ScheduledThreadPoolDefinition
    • getMaxThreads

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

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

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

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