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,org.wildfly.clustering.registry.Registry<K,V>>,org.jboss.as.clustering.controller.CapabilityServiceConfigurator,CacheRegistryConfiguration<K,V>,org.wildfly.clustering.service.Dependency,org.wildfly.clustering.service.ServiceConfigurator,org.wildfly.clustering.service.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 org.wildfly.clustering.registry.Registry<K,V>apply(Map.Entry<K,V> entry, Runnable closeTask)org.wildfly.clustering.service.ServiceConfiguratorconfigure(org.jboss.as.controller.capability.CapabilityServiceSupport support)org.wildfly.clustering.ee.Batcher<? extends org.wildfly.clustering.ee.Batch>getBatcher()org.infinispan.Cache<org.infinispan.remoting.transport.Address,Map.Entry<K,V>>getCache()org.wildfly.clustering.server.group.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
-
-
-
-
Method Detail
-
apply
public org.wildfly.clustering.registry.Registry<K,V> apply(Map.Entry<K,V> entry, Runnable closeTask)
-
configure
public org.wildfly.clustering.service.ServiceConfigurator configure(org.jboss.as.controller.capability.CapabilityServiceSupport support)
- Specified by:
configurein interfaceorg.jboss.as.clustering.controller.CapabilityServiceConfigurator
-
register
public <T> org.jboss.msc.service.ServiceBuilder<T> register(org.jboss.msc.service.ServiceBuilder<T> builder)
- Specified by:
registerin interfaceorg.wildfly.clustering.service.Dependency
-
getBatcher
public org.wildfly.clustering.ee.Batcher<? extends org.wildfly.clustering.ee.Batch> getBatcher()
- Specified by:
getBatcherin interfaceCacheRegistryConfiguration<K,V>
-
getGroup
public org.wildfly.clustering.server.group.Group<org.infinispan.remoting.transport.Address> getGroup()
- Specified by:
getGroupin interfaceCacheRegistryConfiguration<K,V>
-
-