Class ClearStatisticsHandler
java.lang.Object
org.jboss.as.connector.dynamicresource.ClearStatisticsHandler
- All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler
public class ClearStatisticsHandler
extends Object
implements org.jboss.as.controller.OperationStepHandler
Clear stats from passed plugins
- Author:
- Stefano Maestri
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.as.controller.OperationDefinition -
Constructor Summary
ConstructorsConstructorDescriptionClearStatisticsHandler(org.jboss.jca.core.spi.statistics.StatisticsPlugin... stats) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)
-
Field Details
-
DEFINITION
public static final org.jboss.as.controller.OperationDefinition DEFINITION
-
-
Constructor Details
-
ClearStatisticsHandler
public ClearStatisticsHandler(org.jboss.jca.core.spi.statistics.StatisticsPlugin... stats)
-
-
Method Details
-
execute
public void execute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException - Specified by:
executein interfaceorg.jboss.as.controller.OperationStepHandler- Throws:
org.jboss.as.controller.OperationFailedException
-