Class SingletonMetricExecutor

java.lang.Object
org.wildfly.extension.clustering.singleton.SingletonMetricExecutor
All Implemented Interfaces:
Executor<Singleton,Metric<Singleton>>, MetricExecutor<Singleton>
Direct Known Subclasses:
SingletonDeploymentMetricExecutor, SingletonServiceMetricExecutor

public class SingletonMetricExecutor extends Object implements MetricExecutor<Singleton>
Generic executor for singleton metrics.
Author:
Paul Ferraro
  • Constructor Details

    • SingletonMetricExecutor

      public SingletonMetricExecutor(Function<String,org.jboss.msc.service.ServiceName> serviceNameFactory, org.wildfly.service.capture.FunctionExecutorRegistry<org.jboss.msc.service.ServiceName,Singleton> executors)
  • Method Details

    • execute

      public org.jboss.dmr.ModelNode execute(org.jboss.as.controller.OperationContext context, Metric<Singleton> metric) throws org.jboss.as.controller.OperationFailedException
      Specified by:
      execute in interface Executor<Singleton,Metric<Singleton>>
      Throws:
      org.jboss.as.controller.OperationFailedException