public class CacheContainerMetricsHandler extends AbstractRuntimeOnlyHandler
Modifier and Type | Class and Description |
---|---|
static class |
CacheContainerMetricsHandler.CacheManagerMetrics |
Modifier and Type | Field and Description |
---|---|
static CacheContainerMetricsHandler |
INSTANCE |
Constructor and Description |
---|
CacheContainerMetricsHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
executeRuntimeStep(OperationContext context,
org.jboss.dmr.ModelNode operation)
Execute this step in
OperationContext.Stage.RUNTIME . |
execute, resourceMustExist, waitFor
public static final CacheContainerMetricsHandler INSTANCE
protected void executeRuntimeStep(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
AbstractRuntimeOnlyHandler
OperationContext.Stage.RUNTIME
.
If the operation fails, context.getFailureDescroption()
must be called, or OperationFailedException
must be thrown, before calling one of the
context.completeStep variants
.
If the operation succeeded, context.getResult()
should
be called and the result populated with the outcome, after which one of the
context.completeStep variants
must be called.executeRuntimeStep
in class AbstractRuntimeOnlyHandler
context
- the operation contextoperation
- the operation being executedOperationFailedException
- if the operation failed before calling context.completeStep()
Copyright © 2013 JBoss by Red Hat. All rights reserved.