public interface DispatcherGateway extends org.apache.flink.runtime.rpc.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.
|
default CompletableFuture<Acknowledge> |
shutDownCluster(ApplicationStatus applicationStatus) |
default CompletableFuture<String> |
stopWithSavepointAndGetLocation(org.apache.flink.api.common.JobID jobId,
String targetDirectory,
org.apache.flink.core.execution.SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
org.apache.flink.api.common.time.Time timeout)
Stops the job with a savepoint, returning a future that completes with the savepoint location
when the savepoint is completed.
|
CompletableFuture<Acknowledge> |
submitFailedJob(org.apache.flink.api.common.JobID jobId,
String jobName,
Throwable exception) |
CompletableFuture<Acknowledge> |
submitJob(JobGraph jobGraph,
org.apache.flink.api.common.time.Time timeout)
Submit a job to the dispatcher.
|
default CompletableFuture<String> |
triggerCheckpoint(org.apache.flink.api.common.JobID jobID,
org.apache.flink.api.common.time.Time timeout) |
default CompletableFuture<String> |
triggerSavepointAndGetLocation(org.apache.flink.api.common.JobID jobId,
String targetDirectory,
org.apache.flink.core.execution.SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
org.apache.flink.api.common.time.Time timeout)
Triggers a savepoint with the given savepoint directory as a target, returning a future that
completes with the savepoint location when it is complete.
|
cancelJob, deliverCoordinationRequestToCoordinator, disposeSavepoint, getTriggeredSavepointStatus, requestClusterOverview, requestExecutionGraphInfo, requestJob, requestJobResult, requestJobStatus, requestMetricQueryServiceAddresses, requestMultipleJobDetails, requestTaskManagerMetricQueryServiceAddresses, requestThreadDump, shutDownCluster, stopWithSavepoint, triggerSavepointCompletableFuture<Acknowledge> submitJob(JobGraph jobGraph, org.apache.flink.api.common.time.Time timeout)
jobGraph - JobGraph to submittimeout - RPC timeoutCompletableFuture<Acknowledge> submitFailedJob(org.apache.flink.api.common.JobID jobId, String jobName, Throwable exception)
CompletableFuture<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 operationdefault CompletableFuture<Acknowledge> shutDownCluster(ApplicationStatus applicationStatus)
default CompletableFuture<String> triggerCheckpoint(org.apache.flink.api.common.JobID jobID, org.apache.flink.api.common.time.Time timeout)
default CompletableFuture<String> triggerSavepointAndGetLocation(org.apache.flink.api.common.JobID jobId, String targetDirectory, org.apache.flink.core.execution.SavepointFormatType formatType, TriggerSavepointMode savepointMode, org.apache.flink.api.common.time.Time timeout)
jobId - the job idtargetDirectory - Target directory for the savepoint.formatType - Binary format of the savepoint.savepointMode - context of the savepoint operationtimeout - Timeout for the asynchronous operationdefault CompletableFuture<String> stopWithSavepointAndGetLocation(org.apache.flink.api.common.JobID jobId, String targetDirectory, org.apache.flink.core.execution.SavepointFormatType formatType, TriggerSavepointMode savepointMode, org.apache.flink.api.common.time.Time timeout)
jobId - the job idtargetDirectory - Target directory for the savepoint.savepointMode - context of the savepoint operationtimeout - for the rpc callCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.