Class ManagedExecutorServiceMetricsHandler<T>

java.lang.Object
org.jboss.as.controller.AbstractRuntimeOnlyHandler
org.jboss.as.ee.subsystem.ManagedExecutorServiceMetricsHandler<T>
All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler

public class ManagedExecutorServiceMetricsHandler<T> extends org.jboss.as.controller.AbstractRuntimeOnlyHandler
Operation step handler that expose a capability's metrics, through its service.
Author:
emmartins
  • Method Details

    • builder

      public static <T> ManagedExecutorServiceMetricsHandler.Builder<T> builder(org.jboss.as.controller.capability.RuntimeCapability capability)
    • registerAttributes

      public void registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration registration)
      Registers metrics attr definitions.
      Parameters:
      registration -
    • executeRuntimeStep

      protected void executeRuntimeStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
      Specified by:
      executeRuntimeStep in class org.jboss.as.controller.AbstractRuntimeOnlyHandler
      Throws:
      org.jboss.as.controller.OperationFailedException