Package org.jboss.as.ee.subsystem
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ManagedExecutorServiceMetricsHandler.Builder<T>
static interface
ManagedExecutorServiceMetricsHandler.MetricResultSetter<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> ManagedExecutorServiceMetricsHandler.Builder<T>
builder(org.jboss.as.controller.capability.RuntimeCapability capability)
protected void
executeRuntimeStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)
void
registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration registration)
Registers metrics attr definitions.
-
-
-
Method Detail
-
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 classorg.jboss.as.controller.AbstractRuntimeOnlyHandler
- Throws:
org.jboss.as.controller.OperationFailedException
-
-