public abstract class AbstractJCacheNotifier<K,V> extends Object
Constructor and Description |
---|
AbstractJCacheNotifier() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> reg,
AbstractJCache<K,V> jcache,
AbstractJCacheNotifier<K,V> notifier) |
void |
addSyncNotificationLatch(javax.cache.Cache<K,V> cache,
K key,
V value,
CountDownLatch latch) |
protected abstract AbstractJCacheListenerAdapter<K,V> |
createListenerAdapter(AbstractJCache<K,V> jcache,
AbstractJCacheNotifier<K,V> notifier) |
boolean |
hasSyncCreatedListener() |
boolean |
hasSyncRemovedListener() |
boolean |
hasSyncUpdatedListener() |
void |
notifyEntryCreated(javax.cache.Cache<K,V> cache,
K key,
V value) |
void |
notifyEntryExpired(javax.cache.Cache<K,V> cache,
K key,
V value) |
void |
notifyEntryRemoved(javax.cache.Cache<K,V> cache,
K key,
V value) |
void |
notifyEntryUpdated(javax.cache.Cache<K,V> cache,
K key,
V value) |
void |
removeListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> reg,
AbstractJCache<K,V> jcache) |
void |
removeSyncNotificationLatch(javax.cache.Cache<K,V> cache,
K key,
V value,
CountDownLatch latch) |
public void addListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> reg, AbstractJCache<K,V> jcache, AbstractJCacheNotifier<K,V> notifier)
public void removeListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> reg, AbstractJCache<K,V> jcache)
public void addSyncNotificationLatch(javax.cache.Cache<K,V> cache, K key, V value, CountDownLatch latch)
public void removeSyncNotificationLatch(javax.cache.Cache<K,V> cache, K key, V value, CountDownLatch latch)
public boolean hasSyncCreatedListener()
public boolean hasSyncRemovedListener()
public boolean hasSyncUpdatedListener()
protected abstract AbstractJCacheListenerAdapter<K,V> createListenerAdapter(AbstractJCache<K,V> jcache, AbstractJCacheNotifier<K,V> notifier)
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.