@Internal public abstract class AbstractDispatcherLeaderProcess extends Object
DispatcherLeaderProcess.| 限定符和类型 | 类和说明 |
|---|---|
static interface |
AbstractDispatcherLeaderProcess.DispatcherGatewayService
An accessor of the
DispatcherGateway. |
static interface |
AbstractDispatcherLeaderProcess.DispatcherGatewayServiceFactory
|
protected static class |
AbstractDispatcherLeaderProcess.State
The state of the
DispatcherLeaderProcess. |
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.slf4j.Logger |
log |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<Void> |
closeAsync() |
CompletableFuture<DispatcherGateway> |
getDispatcherGateway() |
protected Optional<AbstractDispatcherLeaderProcess.DispatcherGatewayService> |
getDispatcherService() |
CompletableFuture<String> |
getLeaderAddressFuture() |
UUID |
getLeaderSessionId() |
CompletableFuture<ApplicationStatus> |
getShutDownFuture() |
protected CompletableFuture<Void> |
onClose() |
protected abstract void |
onStart() |
void |
start() |
public final void start()
public final UUID getLeaderSessionId()
public final CompletableFuture<DispatcherGateway> getDispatcherGateway()
public final CompletableFuture<String> getLeaderAddressFuture()
public CompletableFuture<ApplicationStatus> getShutDownFuture()
protected final Optional<AbstractDispatcherLeaderProcess.DispatcherGatewayService> getDispatcherService()
public final CompletableFuture<Void> closeAsync()
protected abstract void onStart()
protected CompletableFuture<Void> onClose()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.