Class PostActivateBlockingListener<K,V>
java.lang.Object
org.wildfly.clustering.cache.infinispan.embedded.listener.EventListenerRegistrar
org.wildfly.clustering.cache.infinispan.embedded.listener.CacheEventListenerRegistrar<K,V>
org.wildfly.clustering.cache.infinispan.embedded.listener.PostActivateBlockingListener<K,V>
- Type Parameters:
K- cache key typeV- cache value type
- All Implemented Interfaces:
CacheListenerRegistrar<K,V>, ListenerRegistrar
Generic non-blocking post-activation listener that delegates to a blocking consumer.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionPostActivateBlockingListener(org.infinispan.Cache<K, V> cache, BiConsumer<K, V> consumer) -
Method Summary
Modifier and TypeMethodDescriptionpostActivate(org.infinispan.notifications.cachelistener.event.CacheEntryActivatedEvent<K, V> event) Methods inherited from class CacheEventListenerRegistrar
registerMethods inherited from class EventListenerRegistrar
registerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CacheListenerRegistrar
register, registerMethods inherited from interface ListenerRegistrar
register
-
Constructor Details
-
PostActivateBlockingListener
-
-
Method Details
-
postActivate
public CompletionStage<Void> postActivate(org.infinispan.notifications.cachelistener.event.CacheEntryActivatedEvent<K, V> event)
-