Class CacheMetricExecutor<C>

java.lang.Object
org.jboss.as.clustering.infinispan.subsystem.CacheMetricExecutor<C>
All Implemented Interfaces:
Function<org.infinispan.Cache<?,?>,C>, Executor<C,Metric<C>>, MetricExecutor<C>
Direct Known Subclasses:
CacheComponentMetricExecutor, CacheInterceptorMetricExecutor, ClusteredCacheMetricExecutor, LockingMetricExecutor, PartitionHandlingMetricExecutor

public abstract class CacheMetricExecutor<C> extends Object implements MetricExecutor<C>, Function<org.infinispan.Cache<?,?>,C>
Author:
Paul Ferraro
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CacheMetricExecutor(org.wildfly.subsystem.service.capture.FunctionExecutorRegistry<org.infinispan.Cache<?,?>> executors)
     
    protected
    CacheMetricExecutor(org.wildfly.subsystem.service.capture.FunctionExecutorRegistry<org.infinispan.Cache<?,?>> executors, org.jboss.as.controller.capability.BinaryCapabilityNameResolver resolver)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jboss.dmr.ModelNode
    execute(org.jboss.as.controller.OperationContext context, Metric<C> metric)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, apply, compose
  • Constructor Details

    • CacheMetricExecutor

      protected CacheMetricExecutor(org.wildfly.subsystem.service.capture.FunctionExecutorRegistry<org.infinispan.Cache<?,?>> executors)
    • CacheMetricExecutor

      protected CacheMetricExecutor(org.wildfly.subsystem.service.capture.FunctionExecutorRegistry<org.infinispan.Cache<?,?>> executors, org.jboss.as.controller.capability.BinaryCapabilityNameResolver resolver)
  • Method Details

    • execute

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