Class PrePassivateNonBlockingListener<K,V>

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

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

    • PrePassivateNonBlockingListener

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