public abstract class EventDispatcher<T> extends Object
Modifier and Type | Method and Description |
---|---|
SocketAddress |
address() |
abstract CompletableFuture<Short> |
executeFailover() |
protected abstract void |
invokeEvent(T event) |
protected void |
invokeFailoverEvent() |
boolean |
isRunning() |
boolean |
start() |
boolean |
stop() |
public boolean start()
public boolean stop()
public boolean isRunning()
public abstract CompletableFuture<Short> executeFailover()
protected abstract void invokeEvent(T event)
protected void invokeFailoverEvent()
public SocketAddress address()
Copyright © 2021 JBoss by Red Hat. All rights reserved.