Class NonBlockingCacheEventListener<K,V>
java.lang.Object
org.wildfly.clustering.cache.infinispan.embedded.listener.NonBlockingCacheEventListener<K,V>
- Type Parameters:
K- cache key typeV- cache value type
- All Implemented Interfaces:
Consumer<org.infinispan.notifications.cachelistener.event.CacheEntryEvent<K,,V>> Function<org.infinispan.notifications.cachelistener.event.CacheEntryEvent<K,V>, CompletionStage<Void>>
- Direct Known Subclasses:
BlockingCacheEventListener
public class NonBlockingCacheEventListener<K,V>
extends Object
implements Function<org.infinispan.notifications.cachelistener.event.CacheEntryEvent<K,V>,CompletionStage<Void>>, Consumer<org.infinispan.notifications.cachelistener.event.CacheEntryEvent<K,V>>
Generic non-blocking event listener that delegates to a non-blocking event consumer.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionNonBlockingCacheEventListener(BiConsumer<K, V> consumer) NonBlockingCacheEventListener(Consumer<K> consumer) -
Method Summary
-
Constructor Details
-
NonBlockingCacheEventListener
-
NonBlockingCacheEventListener
-
-
Method Details