Class PrePassivateBlockingListener<K,V>

Type Parameters:
K - cache key type
V - cache value type
All Implemented Interfaces:
CacheListenerRegistrar<K,V>, ListenerRegistrar

public class PrePassivateBlockingListener<K,V> extends CacheEventListenerRegistrar<K,V>
Generic non-blocking pre-passivation listener that delegates to a blocking consumer.
Author:
Paul Ferraro
  • Constructor Details

    • PrePassivateBlockingListener

      public PrePassivateBlockingListener(org.infinispan.Cache<K,V> cache, BiConsumer<K,V> consumer)