Class PrePassivateListener<K,​V>


  • public class PrePassivateListener<K,​V>
    extends Object
    Generic non-blocking pre-passivation listener that delegates to a generic cache event listener.
    Author:
    Paul Ferraro
    • Constructor Detail

      • PrePassivateListener

        public PrePassivateListener​(Function<org.infinispan.notifications.cachelistener.event.CacheEntryEvent<K,​V>,​CompletionStage<Void>> listener)
    • Method Detail

      • prePassivate

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