Class PostPassivateBlockingListener<K,V>
- java.lang.Object
-
- org.wildfly.clustering.infinispan.listener.EventListenerRegistrar
-
- org.wildfly.clustering.infinispan.listener.CacheEventListenerRegistrar<K,V>
-
- org.wildfly.clustering.infinispan.listener.PostPassivateBlockingListener<K,V>
-
- All Implemented Interfaces:
CacheListenerRegistrar<K,V>,ListenerRegistrar
public class PostPassivateBlockingListener<K,V> extends CacheEventListenerRegistrar<K,V>
Generic non-blocking post-passivation listener that delegates to a blocking consumer.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description PostPassivateBlockingListener(org.infinispan.Cache<K,V> cache, Consumer<K> listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<Void>postPassivate(org.infinispan.notifications.cachelistener.event.CacheEntryPassivatedEvent<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
-
-
-
-
Method Detail
-
postPassivate
public CompletionStage<Void> postPassivate(org.infinispan.notifications.cachelistener.event.CacheEntryPassivatedEvent<K,V> event)
-
-