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