Registry.Listener<K,V>, Registry.RegistryEntryProvider<K,V>| Constructor and Description |
|---|
RegistryService(Registry.RegistryEntryProvider<K,V> provider) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(Registry.Listener<K,V> listener) |
org.jboss.msc.service.ServiceBuilder<Registry<K,V>> |
build(org.jboss.msc.service.ServiceTarget target,
org.jboss.msc.service.ServiceName serviceName,
org.jboss.msc.service.ServiceName cacheServiceName) |
void |
created(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<org.infinispan.remoting.transport.Address,Map.Entry<K,V>> event) |
org.jboss.msc.inject.Injector<org.infinispan.Cache> |
getCacheInjector() |
Map<K,V> |
getEntries() |
Map.Entry<K,V> |
getLocalEntry() |
String |
getName() |
Map.Entry<K,V> |
getRemoteEntry(Object address) |
Registry<K,V> |
getValue() |
void |
modified(org.infinispan.notifications.cachelistener.event.CacheEntryModifiedEvent<org.infinispan.remoting.transport.Address,Map.Entry<K,V>> event) |
void |
refreshLocalEntry() |
void |
removed(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<org.infinispan.remoting.transport.Address,Map.Entry<K,V>> event) |
void |
removeListener(Registry.Listener<K,V> listener) |
protected void |
start() |
protected void |
stop() |
void |
viewChanged(org.infinispan.notifications.cachemanagerlistener.event.ViewChangedEvent event) |
start, stoppublic RegistryService(Registry.RegistryEntryProvider<K,V> provider)
public org.jboss.msc.service.ServiceBuilder<Registry<K,V>> build(org.jboss.msc.service.ServiceTarget target, org.jboss.msc.service.ServiceName serviceName, org.jboss.msc.service.ServiceName cacheServiceName)
public org.jboss.msc.inject.Injector<org.infinispan.Cache> getCacheInjector()
public void addListener(Registry.Listener<K,V> listener)
addListener in interface Registry<K,V>public void removeListener(Registry.Listener<K,V> listener)
removeListener in interface Registry<K,V>public Map<K,V> getEntries()
getEntries in interface Registry<K,V>Registry.getEntries()public Map.Entry<K,V> getLocalEntry()
getLocalEntry in interface Registry<K,V>public Map.Entry<K,V> getRemoteEntry(Object address)
getRemoteEntry in interface Registry<K,V>protected void start()
start in class AsynchronousService<Registry<K,V>>public void refreshLocalEntry()
refreshLocalEntry in interface Registry<K,V>protected void stop()
stop in class AsynchronousService<Registry<K,V>>public void viewChanged(org.infinispan.notifications.cachemanagerlistener.event.ViewChangedEvent event)
public void created(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<org.infinispan.remoting.transport.Address,Map.Entry<K,V>> event)
public void modified(org.infinispan.notifications.cachelistener.event.CacheEntryModifiedEvent<org.infinispan.remoting.transport.Address,Map.Entry<K,V>> event)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.