Class CacheMetricExecutor<C>
java.lang.Object
org.jboss.as.clustering.infinispan.subsystem.CacheMetricExecutor<C>
- All Implemented Interfaces:
Function<org.infinispan.Cache<?,,?>, C> org.wildfly.subsystem.resource.executor.MetricExecutor<C>
- Direct Known Subclasses:
CacheComponentMetricExecutor,CacheInterceptorMetricExecutor,ClusteredCacheMetricExecutor,LockingMetricExecutor,PartitionHandlingMetricExecutor
public abstract class CacheMetricExecutor<C>
extends Object
implements org.wildfly.subsystem.resource.executor.MetricExecutor<C>, Function<org.infinispan.Cache<?,?>,C>
An executor of cache metrics.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCacheMetricExecutor(org.wildfly.subsystem.service.capture.FunctionExecutorRegistry<org.infinispan.Cache<?, ?>> executors) protectedCacheMetricExecutor(org.wildfly.subsystem.service.capture.FunctionExecutorRegistry<org.infinispan.Cache<?, ?>> executors, org.jboss.as.controller.capability.BinaryCapabilityNameResolver resolver) -
Method Summary
-
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, org.wildfly.subsystem.resource.executor.Metric<C> metric) throws org.jboss.as.controller.OperationFailedException - Specified by:
executein interfaceorg.wildfly.subsystem.resource.executor.MetricExecutor<C>- Throws:
org.jboss.as.controller.OperationFailedException
-