public interface JobShuffleContext
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.JobID |
getJobId() |
CompletableFuture<Collection<PartitionWithMetrics>> |
getPartitionWithMetrics(Duration timeout,
Set<ResultPartitionID> expectedPartitions)
Retrieves specified partitions and their metrics (identified by
expectedPartitions),
the metrics include sizes of sub-partitions in a result partition. |
void |
notifyPartitionRecoveryStarted()
Notifies that the recovery process of result partitions has started.
|
CompletableFuture<?> |
stopTrackingAndReleasePartitions(Collection<ResultPartitionID> partitionIds)
Notifies the job to stop tracking and release the target result partitions, which means these
partitions will be removed and will be reproduced if used afterwards.
|
org.apache.flink.api.common.JobID getJobId()
JobID.CompletableFuture<?> stopTrackingAndReleasePartitions(Collection<ResultPartitionID> partitionIds)
CompletableFuture<Collection<PartitionWithMetrics>> getPartitionWithMetrics(Duration timeout, Set<ResultPartitionID> expectedPartitions)
expectedPartitions),
the metrics include sizes of sub-partitions in a result partition.timeout - The timeout used for retrieve the specified partitions.expectedPartitions - The set of identifiers for the result partitions whose metrics are
to be fetched.void notifyPartitionRecoveryStarted()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.