Class PostPassivateBlockingListener<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.PostPassivateBlockingListener<K,V>
- Type Parameters:
K- cache key typeV- cache value type
- All Implemented Interfaces:
CacheListenerRegistrar<K,V>, ListenerRegistrar
Generic non-blocking post-passivation listener that delegates to a blocking consumer.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionPostPassivateBlockingListener(org.infinispan.Cache<K, V> cache, Consumer<K> listener) -
Method Summary
Modifier and TypeMethodDescriptionpostPassivate(org.infinispan.notifications.cachelistener.event.CacheEntryPassivatedEvent<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
-
PostPassivateBlockingListener
-
-
Method Details
-
postPassivate
public CompletionStage<Void> postPassivate(org.infinispan.notifications.cachelistener.event.CacheEntryPassivatedEvent<K, V> event)
-