Class CounterEventDispatcher
- java.lang.Object
-
- org.infinispan.client.hotrod.event.impl.EventDispatcher<HotRodCounterEvent>
-
- org.infinispan.client.hotrod.event.impl.CounterEventDispatcher
-
public class CounterEventDispatcher extends EventDispatcher<HotRodCounterEvent>
-
-
Constructor Summary
Constructors Constructor Description CounterEventDispatcher(byte[] listenerId, ConcurrentMap<String,List<Consumer<HotRodCounterEvent>>> clientListeners, SocketAddress address, Supplier<CompletableFuture<Short>> failover, Runnable cleanup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<Short>
executeFailover()
protected void
invokeEvent(HotRodCounterEvent event)
-
Methods inherited from class org.infinispan.client.hotrod.event.impl.EventDispatcher
address, invokeFailoverEvent, isRunning, start, stop
-
-
-
-
Constructor Detail
-
CounterEventDispatcher
public CounterEventDispatcher(byte[] listenerId, ConcurrentMap<String,List<Consumer<HotRodCounterEvent>>> clientListeners, SocketAddress address, Supplier<CompletableFuture<Short>> failover, Runnable cleanup)
-
-
Method Detail
-
executeFailover
public CompletableFuture<Short> executeFailover()
- Specified by:
executeFailover
in classEventDispatcher<HotRodCounterEvent>
-
invokeEvent
protected void invokeEvent(HotRodCounterEvent event)
- Specified by:
invokeEvent
in classEventDispatcher<HotRodCounterEvent>
-
-