Class PrePassivateListener<K,V>
- java.lang.Object
-
- org.wildfly.clustering.infinispan.listener.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 Summary
Constructors Constructor Description PrePassivateListener(Function<org.infinispan.notifications.cachelistener.event.CacheEntryEvent<K,V>,CompletionStage<Void>> listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<Void>prePassivate(org.infinispan.notifications.cachelistener.event.CacheEntryPassivatedEvent<K,V> event)
-
-
-
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)
-
-