Enum Class ScheduledThreadPoolResourceDefinition

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

public enum ScheduledThreadPoolResourceDefinition extends Enum<ScheduledThreadPoolResourceDefinition> implements ResourceDefinitionProvider, ScheduledThreadPoolDefinition, ThreadPoolServiceDescriptor, org.wildfly.subsystem.service.ResourceServiceConfigurator
Scheduled thread pool resource definitions for Infinispan subsystem. See KnownComponentNames and org.infinispan.commons.executors.BlockingThreadPoolExecutorFactory#create(int, int) for the hardcoded Infinispan default values.
Author:
Radoslav Husar
  • Enum Constant Details

  • Method Details

    • values

      public static ScheduledThreadPoolResourceDefinition[] 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 ScheduledThreadPoolResourceDefinition 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
    • getPathElement

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

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

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