public abstract class ModeShapeMetricHandler
extends org.jboss.as.controller.AbstractRuntimeOnlyHandler
Modifier | Constructor and Description |
---|---|
protected |
ModeShapeMetricHandler(Window metricWindow) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeRuntimeStep(org.jboss.as.controller.OperationContext context,
ModelNode operation) |
protected abstract History |
history(RepositoryMonitor repoStats) |
protected Logger |
logger() |
protected Window |
window() |
protected ModeShapeMetricHandler(Window metricWindow)
metricWindow
- the metric window (cannot be null
)protected void executeRuntimeStep(org.jboss.as.controller.OperationContext context, ModelNode operation) throws org.jboss.as.controller.OperationFailedException
executeRuntimeStep
in class org.jboss.as.controller.AbstractRuntimeOnlyHandler
org.jboss.as.controller.OperationFailedException
AbstractRuntimeOnlyHandler.executeRuntimeStep(org.jboss.as.controller.OperationContext,
org.jboss.dmr.ModelNode)
protected abstract History history(RepositoryMonitor repoStats) throws Exception
repoStats
- the repository statistics used to obtain the metric history (cannot be null
)null
but can be empty)Exception
- if there is a problem obtaining the repository statistics historyprotected final Logger logger()
null
)protected Window window()
null
)Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.