Class AbstractDispatcherLeaderProcess
java.lang.Object
org.apache.flink.runtime.dispatcher.runner.AbstractDispatcherLeaderProcess
- All Implemented Interfaces:
AutoCloseable,org.apache.flink.util.AutoCloseableAsync
- Direct Known Subclasses:
SessionDispatcherLeaderProcess
A base
DispatcherLeaderProcess.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAn accessor of theDispatcherGateway.static interfaceprotected static enumThe state of theDispatcherLeaderProcess. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal CompletableFuture<Void>protected final Optional<AbstractDispatcherLeaderProcess.DispatcherGatewayService>final CompletableFuture<String>final UUIDprotected CompletableFuture<Void>onClose()protected abstract voidonStart()final voidstart()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.util.AutoCloseableAsync
close
-
Field Details
-
log
protected final org.slf4j.Logger log
-
-
Method Details
-
start
public final void start() -
getLeaderSessionId
-
getDispatcherGateway
-
getLeaderAddressFuture
-
getShutDownFuture
-
getDispatcherService
protected final Optional<AbstractDispatcherLeaderProcess.DispatcherGatewayService> getDispatcherService() -
closeAsync
- Specified by:
closeAsyncin interfaceorg.apache.flink.util.AutoCloseableAsync
-
onStart
protected abstract void onStart() -
onClose
-