Class 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 Detail

      • 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