
org.jboss.as.clustering.infinispan.subsystem.ReplicatedCacheResourceDefinition Maven / Gradle / Ivy
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.jboss.as.clustering.infinispan.subsystem;
import java.util.function.UnaryOperator;
import org.infinispan.Cache;
import org.infinispan.configuration.cache.CacheMode;
import org.jboss.as.controller.PathElement;
import org.wildfly.subsystem.service.capture.FunctionExecutorRegistry;
/**
* Resource description for the addressable resource /subsystem=infinispan/cache-container=X/replicated-cache=*
*
* @author Richard Achmatowicz (c) 2011 Red Hat Inc.
*/
public class ReplicatedCacheResourceDefinition extends SharedStateCacheResourceDefinition {
static final PathElement WILDCARD_PATH = pathElement(PathElement.WILDCARD_VALUE);
static PathElement pathElement(String name) {
return PathElement.pathElement("replicated-cache", name);
}
ReplicatedCacheResourceDefinition(FunctionExecutorRegistry> executors) {
super(WILDCARD_PATH, UnaryOperator.identity(), CacheMode.REPL_SYNC, executors);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy