Class CacheGroupServiceConfigurator
java.lang.Object
org.wildfly.clustering.service.SimpleServiceNameProvider
org.wildfly.extension.clustering.server.group.CacheGroupServiceConfigurator
- All Implemented Interfaces:
Supplier<AutoCloseableGroup<?>>,CapabilityServiceConfigurator,CacheConfiguration,InfinispanConfiguration,CacheGroupConfiguration,ServiceConfigurator,ServiceNameProvider
public class CacheGroupServiceConfigurator
extends SimpleServiceNameProvider
implements CapabilityServiceConfigurator, CacheGroupConfiguration, Supplier<AutoCloseableGroup<?>>
Builds a
Group service for a cache.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCacheGroupServiceConfigurator(org.jboss.msc.service.ServiceName name, String containerName, String cacheName) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target) configure(org.jboss.as.controller.capability.CapabilityServiceSupport support) get()<K,V> org.infinispan.Cache<K, V> getCache()NodeFactory<org.jgroups.Address>Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider
equals, getServiceName, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jboss.as.clustering.controller.CapabilityServiceConfigurator
configureMethods inherited from interface org.wildfly.clustering.ee.infinispan.InfinispanConfiguration
getBatcher, getBlockingManager, getCacheProperties, getReadForUpdateCache, getSilentWriteCache, getTryLockCache, getTryReadForUpdateCache, getWriteOnlyCacheMethods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
Constructor Details
-
CacheGroupServiceConfigurator
-
-
Method Details
-
get
- Specified by:
getin interfaceSupplier<AutoCloseableGroup<?>>
-
configure
public ServiceConfigurator configure(org.jboss.as.controller.capability.CapabilityServiceSupport support) - Specified by:
configurein interfaceCapabilityServiceConfigurator
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target) - Specified by:
buildin interfaceServiceConfigurator
-
getCache
public <K,V> org.infinispan.Cache<K,V> getCache()- Specified by:
getCachein interfaceCacheConfiguration- Specified by:
getCachein interfaceInfinispanConfiguration
-
getMemberFactory
- Specified by:
getMemberFactoryin interfaceCacheGroupConfiguration
-