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

    • PostActivateBlockingListener

      public PostActivateBlockingListener(org.infinispan.Cache<K,V> cache, BiConsumer<K,V> consumer)
  • Method Details

    • postActivate

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