Class SingletonMetricExecutor
java.lang.Object
org.wildfly.extension.clustering.singleton.SingletonMetricExecutor
- All Implemented Interfaces:
org.wildfly.subsystem.resource.executor.MetricExecutor<Singleton>
- Direct Known Subclasses:
SingletonDeploymentMetricExecutor,SingletonServiceMetricExecutor
public class SingletonMetricExecutor
extends Object
implements org.wildfly.subsystem.resource.executor.MetricExecutor<Singleton>
Generic executor for singleton metrics.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionSingletonMetricExecutor(Function<String, org.jboss.msc.service.ServiceName> serviceNameFactory, org.wildfly.service.capture.FunctionExecutorRegistry<org.jboss.msc.service.ServiceName, Singleton> executors) -
Method Summary
-
Constructor Details
-
SingletonMetricExecutor
-
-
Method Details
-
execute
public org.jboss.dmr.ModelNode execute(org.jboss.as.controller.OperationContext context, org.wildfly.subsystem.resource.executor.Metric<Singleton> metric) throws org.jboss.as.controller.OperationFailedException - Specified by:
executein interfaceorg.wildfly.subsystem.resource.executor.MetricExecutor<Singleton>- Throws:
org.jboss.as.controller.OperationFailedException
-