Class CacheRegistryFactoryServiceConfigurator<K,V>
- java.lang.Object
-
- org.wildfly.clustering.service.SimpleServiceNameProvider
-
- org.wildfly.extension.clustering.server.registry.FunctionalRegistryFactoryServiceConfigurator<K,V>
-
- org.wildfly.extension.clustering.server.registry.CacheRegistryFactoryServiceConfigurator<K,V>
-
- All Implemented Interfaces:
BiFunction<Map.Entry<K,V>,Runnable,Registry<K,V>>,CapabilityServiceConfigurator,CacheConfiguration,InfinispanConfiguration,CacheRegistryConfiguration<K,V>,Dependency,ServiceConfigurator,ServiceNameProvider
public class CacheRegistryFactoryServiceConfigurator<K,V> extends FunctionalRegistryFactoryServiceConfigurator<K,V> implements CacheRegistryConfiguration<K,V>
Builds a clusteredRegistryFactory.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description CacheRegistryFactoryServiceConfigurator(org.jboss.msc.service.ServiceName name, String containerName, String cacheName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Registry<K,V>apply(Map.Entry<K,V> entry, Runnable closeTask)ServiceConfiguratorconfigure(org.jboss.as.controller.capability.CapabilityServiceSupport support)<KK,VV>
org.infinispan.Cache<KK,VV>getCache()Group<org.infinispan.remoting.transport.Address>getGroup()<T> org.jboss.msc.service.ServiceBuilder<T>register(org.jboss.msc.service.ServiceBuilder<T> builder)-
Methods inherited from class org.wildfly.extension.clustering.server.registry.FunctionalRegistryFactoryServiceConfigurator
build
-
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 java.util.function.BiFunction
andThen
-
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, getWriteOnlyCache
-
Methods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
-
-
-
Method Detail
-
configure
public ServiceConfigurator configure(org.jboss.as.controller.capability.CapabilityServiceSupport support)
- Specified by:
configurein interfaceCapabilityServiceConfigurator
-
register
public <T> org.jboss.msc.service.ServiceBuilder<T> register(org.jboss.msc.service.ServiceBuilder<T> builder)
- Specified by:
registerin interfaceDependency
-
getGroup
public Group<org.infinispan.remoting.transport.Address> getGroup()
- Specified by:
getGroupin interfaceCacheRegistryConfiguration<K,V>
-
getCache
public <KK,VV> org.infinispan.Cache<KK,VV> getCache()
- Specified by:
getCachein interfaceCacheConfiguration- Specified by:
getCachein interfaceInfinispanConfiguration
-
-