Class 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 Details

    • PostPassivateBlockingListener

      public PostPassivateBlockingListener(org.infinispan.Cache<K,V> cache, Consumer<K> listener)
  • Method Details

    • postPassivate

      public CompletionStage<Void> postPassivate(org.infinispan.notifications.cachelistener.event.CacheEntryPassivatedEvent<K,V> event)