public final class ClientEventDispatcher extends EventDispatcher<ClientEvent>
Modifier and Type | Field and Description |
---|---|
static ClientCacheFailoverEvent |
FAILOVER_EVENT_SINGLETON |
Modifier and Type | Method and Description |
---|---|
static ClientEventDispatcher |
create(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() |
address, isRunning, start, stop
public static final ClientCacheFailoverEvent FAILOVER_EVENT_SINGLETON
public static ClientEventDispatcher create(AddClientListenerOperation op, SocketAddress address, Runnable cleanup)
public static Map<Class<? extends Annotation>,List<org.infinispan.client.hotrod.event.impl.ClientEventDispatcher.ClientListenerInvocation>> findMethods(Object listener)
public void invokeEvent(ClientEvent clientEvent)
invokeEvent
in class EventDispatcher<ClientEvent>
public CompletableFuture<Short> executeFailover()
executeFailover
in class EventDispatcher<ClientEvent>
protected void invokeFailoverEvent()
invokeFailoverEvent
in class EventDispatcher<ClientEvent>
protected DataFormat getDataFormat()
Copyright © 2021 JBoss by Red Hat. All rights reserved.