| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Integer> |
DispatcherGateway.getBlobServerPort(org.apache.flink.api.common.time.Time timeout)
Returns the port of the blob server.
|
CompletableFuture<Collection<org.apache.flink.api.common.JobID>> |
DispatcherGateway.listJobs(org.apache.flink.api.common.time.Time timeout)
List the current set of submitted jobs.
|
CompletableFuture<ArchivedExecutionGraph> |
DispatcherGateway.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> |
DispatcherGateway.submitJob(JobGraph jobGraph,
org.apache.flink.api.common.time.Time timeout)
Submit a job to the dispatcher.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Acknowledge> |
TaskManagerGateway.freeSlot(AllocationID allocationId,
Throwable cause,
org.apache.flink.api.common.time.Time timeout)
Frees the slot with the given allocation ID.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Acknowledge> |
JobMasterGateway.cancel(org.apache.flink.api.common.time.Time timeout)
Cancels the currently executed job.
|
CompletableFuture<Collection<SlotOffer>> |
JobMasterGateway.offerSlots(ResourceID taskManagerId,
Collection<SlotOffer> slots,
org.apache.flink.api.common.time.Time timeout)
Offers the given slots to the job manager.
|
CompletableFuture<RegistrationResponse> |
JobMasterGateway.registerTaskManager(String taskManagerRpcAddress,
TaskManagerLocation taskManagerLocation,
org.apache.flink.api.common.time.Time timeout)
Registers the task manager at the job manager.
|
CompletableFuture<ArchivedExecutionGraph> |
JobMasterGateway.requestJob(org.apache.flink.api.common.time.Time timeout)
Requests the
ArchivedExecutionGraph of the executed job. |
CompletableFuture<JobDetails> |
JobMasterGateway.requestJobDetails(org.apache.flink.api.common.time.Time timeout)
Request the details of the executed job.
|
CompletableFuture<org.apache.flink.api.common.JobStatus> |
JobMasterGateway.requestJobStatus(org.apache.flink.api.common.time.Time timeout)
Requests the current job status.
|
CompletableFuture<Acknowledge> |
JobMasterGateway.scheduleOrUpdateConsumers(ResultPartitionID partitionID,
org.apache.flink.api.common.time.Time timeout)
Notifies the JobManager about available data for a produced partition.
|
CompletableFuture<String> |
JobMasterGateway.stopWithSavepoint(String targetDirectory,
boolean advanceToEndOfEventTime,
org.apache.flink.api.common.time.Time timeout)
Stops the job with a savepoint.
|
CompletableFuture<String> |
JobMasterGateway.triggerSavepoint(String targetDirectory,
boolean cancelJob,
org.apache.flink.api.common.time.Time timeout)
Triggers taking a savepoint of the executed job.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<RegistrationResponse> |
ResourceManagerGateway.registerJobManager(JobMasterId jobMasterId,
ResourceID jobMasterResourceId,
String jobMasterAddress,
org.apache.flink.api.common.JobID jobId,
org.apache.flink.api.common.time.Time timeout)
Register a
JobMaster at the resource manager. |
CompletableFuture<RegistrationResponse> |
ResourceManagerGateway.registerTaskExecutor(TaskExecutorRegistration taskExecutorRegistration,
org.apache.flink.api.common.time.Time timeout)
Register a
TaskExecutor at the resource manager. |
CompletableFuture<ResourceOverview> |
ResourceManagerGateway.requestResourceOverview(org.apache.flink.api.common.time.Time timeout)
Requests the resource overview.
|
CompletableFuture<Acknowledge> |
ResourceManagerGateway.requestSlot(JobMasterId jobMasterId,
SlotRequest slotRequest,
org.apache.flink.api.common.time.Time timeout)
Requests a slot from the resource manager.
|
CompletableFuture<TransientBlobKey> |
ResourceManagerGateway.requestTaskManagerFileUpload(ResourceID taskManagerId,
FileType fileType,
org.apache.flink.api.common.time.Time timeout)
Request the file upload from the given
TaskExecutor to the cluster's BlobServer. |
CompletableFuture<TaskManagerInfo> |
ResourceManagerGateway.requestTaskManagerInfo(ResourceID taskManagerId,
org.apache.flink.api.common.time.Time timeout)
Requests information about the given
TaskExecutor. |
CompletableFuture<Collection<TaskManagerInfo>> |
ResourceManagerGateway.requestTaskManagerInfo(org.apache.flink.api.common.time.Time timeout)
Requests information about the registered
TaskExecutor. |
CompletableFuture<Collection<org.apache.flink.api.java.tuple.Tuple2<ResourceID,String>>> |
ResourceManagerGateway.requestTaskManagerMetricQueryServiceAddresses(org.apache.flink.api.common.time.Time timeout)
Requests the paths for the TaskManager's
MetricQueryService to query. |
CompletableFuture<Acknowledge> |
ResourceManagerGateway.sendSlotReport(ResourceID taskManagerResourceId,
InstanceID taskManagerRegistrationId,
SlotReport slotReport,
org.apache.flink.api.common.time.Time timeout)
Sends the given
SlotReport to the ResourceManager. |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Acknowledge> |
TaskExecutorGateway.cancelTask(ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.time.Time timeout)
Cancel the given task.
|
CompletableFuture<Acknowledge> |
TaskExecutorGateway.freeSlot(AllocationID allocationId,
Throwable cause,
org.apache.flink.api.common.time.Time timeout)
Frees the slot with the given allocation ID.
|
CompletableFuture<TransientBlobKey> |
TaskExecutorGateway.requestFileUpload(FileType fileType,
org.apache.flink.api.common.time.Time timeout)
Requests the file upload of the specified type to the cluster's
BlobServer. |
CompletableFuture<org.apache.flink.types.SerializableOptional<String>> |
TaskExecutorGateway.requestMetricQueryServiceAddress(org.apache.flink.api.common.time.Time timeout)
Returns the gateway of Metric Query Service on the TaskManager.
|
CompletableFuture<Acknowledge> |
TaskExecutorGateway.requestSlot(SlotID slotId,
org.apache.flink.api.common.JobID jobId,
AllocationID allocationId,
ResourceProfile resourceProfile,
String targetAddress,
ResourceManagerId resourceManagerId,
org.apache.flink.api.common.time.Time timeout)
Requests a slot from the TaskManager.
|
CompletableFuture<TaskBackPressureResponse> |
TaskExecutorGateway.requestTaskBackPressure(ExecutionAttemptID executionAttemptId,
int requestId,
org.apache.flink.api.common.time.Time timeout) |
CompletableFuture<TaskBackPressureResponse> |
TaskExecutor.requestTaskBackPressure(ExecutionAttemptID executionAttemptId,
int requestId,
org.apache.flink.api.common.time.Time timeout) |
CompletableFuture<Acknowledge> |
TaskExecutorGateway.submitTask(TaskDeploymentDescriptor tdd,
JobMasterId jobMasterId,
org.apache.flink.api.common.time.Time timeout)
Submit a
Task to the TaskExecutor. |
CompletableFuture<Acknowledge> |
TaskExecutorGateway.updatePartitions(ExecutionAttemptID executionAttemptID,
Iterable<PartitionInfo> partitionInfos,
org.apache.flink.api.common.time.Time timeout)
Update the task where the given partitions can be found.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Acknowledge> |
RestfulGateway.cancelJob(org.apache.flink.api.common.JobID jobId,
org.apache.flink.api.common.time.Time timeout)
Cancel the given job.
|
default CompletableFuture<Acknowledge> |
RestfulGateway.disposeSavepoint(String savepointPath,
org.apache.flink.api.common.time.Time timeout)
Dispose the given savepoint.
|
CompletableFuture<ClusterOverview> |
RestfulGateway.requestClusterOverview(org.apache.flink.api.common.time.Time timeout)
Requests the cluster status overview.
|
CompletableFuture<ArchivedExecutionGraph> |
RestfulGateway.requestJob(org.apache.flink.api.common.JobID jobId,
org.apache.flink.api.common.time.Time timeout)
Requests the
ArchivedExecutionGraph for the given jobId. |
CompletableFuture<JobResult> |
RestfulGateway.requestJobResult(org.apache.flink.api.common.JobID jobId,
org.apache.flink.api.common.time.Time timeout)
Requests the
JobResult of a job specified by the given jobId. |
default CompletableFuture<org.apache.flink.api.common.JobStatus> |
RestfulGateway.requestJobStatus(org.apache.flink.api.common.JobID jobId,
org.apache.flink.api.common.time.Time timeout)
Request the
JobStatus of the given job. |
CompletableFuture<Collection<String>> |
RestfulGateway.requestMetricQueryServiceAddresses(org.apache.flink.api.common.time.Time timeout)
Requests the addresses of the
MetricQueryService to query. |
CompletableFuture<MultipleJobsDetails> |
RestfulGateway.requestMultipleJobDetails(org.apache.flink.api.common.time.Time timeout)
Requests job details currently being executed on the Flink cluster.
|
CompletableFuture<Collection<org.apache.flink.api.java.tuple.Tuple2<ResourceID,String>>> |
RestfulGateway.requestTaskManagerMetricQueryServiceAddresses(org.apache.flink.api.common.time.Time timeout)
Requests the addresses for the TaskManagers'
MetricQueryService to query. |
default CompletableFuture<String> |
RestfulGateway.stopWithSavepoint(org.apache.flink.api.common.JobID jobId,
String targetDirectory,
boolean advanceToEndOfEventTime,
org.apache.flink.api.common.time.Time timeout)
Stops the job with a savepoint.
|
default CompletableFuture<String> |
RestfulGateway.triggerSavepoint(org.apache.flink.api.common.JobID jobId,
String targetDirectory,
boolean cancelJob,
org.apache.flink.api.common.time.Time timeout)
Triggers a savepoint with the given savepoint directory as a target.
|
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.