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,
org.jboss.dmr.ModelNode operation) |
protected abstract History |
history(RepositoryMonitor repoStats) |
protected org.jboss.logging.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, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
executeRuntimeStep
in class org.jboss.as.controller.AbstractRuntimeOnlyHandler
org.jboss.as.controller.OperationFailedException
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 org.jboss.logging.Logger logger()
null
)protected Window window()
null
)Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.