Class ClientEventDispatcher
- java.lang.Object
-
- org.infinispan.client.hotrod.event.impl.EventDispatcher<ClientEvent>
-
- org.infinispan.client.hotrod.event.impl.ClientEventDispatcher
-
public class ClientEventDispatcher extends EventDispatcher<ClientEvent>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClientEventDispatcher
create(org.infinispan.client.hotrod.impl.operations.AddClientListenerOperation op, SocketAddress address, Runnable cleanup)
CompletableFuture<Short>
executeFailover()
static Map<Class<? extends Annotation>,List<org.infinispan.client.hotrod.event.impl.ClientEventDispatcher.ClientListenerInvocation>>
findMethods(Object listener)
protected DataFormat
getDataFormat()
void
invokeEvent(ClientEvent clientEvent)
protected void
invokeFailoverEvent()
-
Methods inherited from class org.infinispan.client.hotrod.event.impl.EventDispatcher
address, isRunning, start, stop
-
-
-
-
Method Detail
-
create
public static ClientEventDispatcher create(org.infinispan.client.hotrod.impl.operations.AddClientListenerOperation op, SocketAddress address, Runnable cleanup)
-
findMethods
public static Map<Class<? extends Annotation>,List<org.infinispan.client.hotrod.event.impl.ClientEventDispatcher.ClientListenerInvocation>> findMethods(Object listener)
-
invokeEvent
public void invokeEvent(ClientEvent clientEvent)
- Specified by:
invokeEvent
in classEventDispatcher<ClientEvent>
-
executeFailover
public CompletableFuture<Short> executeFailover()
- Specified by:
executeFailover
in classEventDispatcher<ClientEvent>
-
invokeFailoverEvent
protected void invokeFailoverEvent()
- Overrides:
invokeFailoverEvent
in classEventDispatcher<ClientEvent>
-
getDataFormat
protected DataFormat getDataFormat()
-
-