public interface DispatcherGateway extends FencedRpcGateway<DispatcherId>, RestfulGateway
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Integer> |
getBlobServerPort(org.apache.flink.api.common.time.Time timeout)
Returns the port of the blob server.
|
CompletableFuture<Collection<org.apache.flink.api.common.JobID>> |
listJobs(org.apache.flink.api.common.time.Time timeout)
List the current set of submitted jobs.
|
CompletableFuture<ArchivedExecutionGraph> |
requestJob(org.apache.flink.api.common.JobID jobId,
org.apache.flink.api.common.time.Time timeout)
Requests the
ArchivedExecutionGraph for the given jobId. |
CompletableFuture<Acknowledge> |
submitJob(JobGraph jobGraph,
org.apache.flink.api.common.time.Time timeout)
Submit a job to the dispatcher.
|
getFencingTokencancelJob, disposeSavepoint, requestClusterOverview, requestJobResult, requestJobStatus, requestMetricQueryServiceAddresses, requestMultipleJobDetails, requestOperatorBackPressureStats, requestTaskManagerMetricQueryServiceAddresses, shutDownCluster, stopWithSavepoint, triggerSavepointgetAddress, getHostnameCompletableFuture<Acknowledge> submitJob(JobGraph jobGraph, org.apache.flink.api.common.time.Time timeout)
jobGraph - JobGraph to submittimeout - RPC timeoutCompletableFuture<Collection<org.apache.flink.api.common.JobID>> listJobs(org.apache.flink.api.common.time.Time timeout)
timeout - RPC timeoutCompletableFuture<Integer> getBlobServerPort(org.apache.flink.api.common.time.Time timeout)
timeout - of the operationCompletableFuture<ArchivedExecutionGraph> requestJob(org.apache.flink.api.common.JobID jobId, org.apache.flink.api.common.time.Time timeout)
ArchivedExecutionGraph for the given jobId. If there is no such graph, then
the future is completed with a FlinkJobNotFoundException.
Note: We enforce that the returned future contains a ArchivedExecutionGraph unlike
the super interface.
requestJob in interface RestfulGatewayjobId - identifying the job whose AccessExecutionGraph is requestedtimeout - for the asynchronous operationFlinkJobNotFoundExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.