Class CachedShuffleDescriptors
java.lang.Object
org.apache.flink.runtime.deployment.CachedShuffleDescriptors
ShuffleDescriptors cache for a ConsumedPartitionGroup.-
Constructor Summary
ConstructorsConstructorDescriptionCachedShuffleDescriptors(ConsumedPartitionGroup consumedPartitionGroup, TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[] shuffleDescriptors) -
Method Summary
Modifier and TypeMethodDescriptionList<TaskDeploymentDescriptor.MaybeOffloaded<TaskDeploymentDescriptorFactory.ShuffleDescriptorGroup>>voidmarkPartitionFinished(IntermediateResultPartition resultPartition) voidserializeShuffleDescriptors(org.apache.flink.runtime.deployment.TaskDeploymentDescriptorFactory.ShuffleDescriptorSerializer shuffleDescriptorSerializer)
-
Constructor Details
-
CachedShuffleDescriptors
public CachedShuffleDescriptors(ConsumedPartitionGroup consumedPartitionGroup, TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[] shuffleDescriptors)
-
-
Method Details
-
getAllSerializedShuffleDescriptorGroups
public List<TaskDeploymentDescriptor.MaybeOffloaded<TaskDeploymentDescriptorFactory.ShuffleDescriptorGroup>> getAllSerializedShuffleDescriptorGroups() -
serializeShuffleDescriptors
public void serializeShuffleDescriptors(org.apache.flink.runtime.deployment.TaskDeploymentDescriptorFactory.ShuffleDescriptorSerializer shuffleDescriptorSerializer) throws IOException - Throws:
IOException
-
markPartitionFinished
-