Package org.infinispan.rest.resources
Class CacheResourceV2.BaseCacheListener
- java.lang.Object
-
- org.infinispan.rest.resources.CacheResourceV2.BaseCacheListener
-
- Direct Known Subclasses:
CacheResourceV2.StatefulCacheListener,CacheResourceV2.StatelessCacheListener
- Enclosing class:
- CacheResourceV2
public abstract static class CacheResourceV2.BaseCacheListener extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.infinispan.Cache<?,?>cacheprotected EventStreameventStream
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseCacheListener(org.infinispan.Cache<?,?> cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventStreamgetEventStream()CompletionStage<Void>onCacheEvent(org.infinispan.notifications.cachelistener.event.CacheEntryEvent<?,?> event)
-
-
-
Field Detail
-
cache
protected final org.infinispan.Cache<?,?> cache
-
eventStream
protected final EventStream eventStream
-
-
Method Detail
-
getEventStream
public EventStream getEventStream()
-
onCacheEvent
public CompletionStage<Void> onCacheEvent(org.infinispan.notifications.cachelistener.event.CacheEntryEvent<?,?> event)
-
-