K - key typeV - value typepublic class CacheRegistry<K,V> extends Object implements Registry<K,V>, org.infinispan.filter.KeyFilter<Object>
Registry backed by an Infinispan cache.Registry.Listener<K,V>| Constructor and Description |
|---|
CacheRegistry(CacheRegistryConfiguration<K,V> config,
Map.Entry<K,V> entry,
Runnable closeTask) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Object key) |
void |
close() |
void |
event(org.infinispan.notifications.cachelistener.event.CacheEntryEvent<Node,Map.Entry<K,V>> event) |
Map<K,V> |
getEntries() |
Map.Entry<K,V> |
getEntry(Node node) |
Group |
getGroup() |
Registration |
register(RegistryListener<K,V> listener) |
void |
removed(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<Node,Map.Entry<K,V>> event) |
void |
removeListener(Registry.Listener<K,V> listener)
Deprecated.
|
void |
topologyChanged(org.infinispan.notifications.cachelistener.event.TopologyChangedEvent<Node,Map.Entry<K,V>> event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListenerpublic boolean accept(Object key)
accept in interface org.infinispan.filter.KeyFilter<Object>public void close()
public Registration register(RegistryListener<K,V> listener)
register in interface Registrar<RegistryListener<K,V>>@Deprecated public void removeListener(Registry.Listener<K,V> listener)
removeListener in interface Registry<K,V>public void topologyChanged(org.infinispan.notifications.cachelistener.event.TopologyChangedEvent<Node,Map.Entry<K,V>> event)
public void event(org.infinispan.notifications.cachelistener.event.CacheEntryEvent<Node,Map.Entry<K,V>> event)
Copyright © 2018 JBoss by Red Hat. All rights reserved.