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 aGroupservice for a cache.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description CacheGroupServiceConfigurator(org.jboss.msc.service.ServiceName name, String containerName, String cacheName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target)ServiceConfiguratorconfigure(org.jboss.as.controller.capability.CapabilityServiceSupport support)AutoCloseableGroup<?>get()<K,V>
org.infinispan.Cache<K,V>getCache()NodeFactory<org.jgroups.Address>getMemberFactory()-
Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider
equals, getServiceName, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.as.clustering.controller.CapabilityServiceConfigurator
configure
-
Methods inherited from interface org.wildfly.clustering.ee.infinispan.InfinispanConfiguration
getBatcher, getBlockingManager, getCacheProperties, getReadForUpdateCache, getSilentWriteCache, getTryLockCache, getTryReadForUpdateCache, getWriteOnlyCache
-
Methods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
-
-
-
Method Detail
-
get
public AutoCloseableGroup<?> 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
public NodeFactory<org.jgroups.Address> getMemberFactory()
- Specified by:
getMemberFactoryin interfaceCacheGroupConfiguration
-
-