public class CachedShuffleDescriptors extends Object
ShuffleDescriptor
s cache for a ConsumedPartitionGroup
.Constructor and Description |
---|
CachedShuffleDescriptors(ConsumedPartitionGroup consumedPartitionGroup,
TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[] shuffleDescriptors) |
Modifier and Type | Method and Description |
---|---|
List<TaskDeploymentDescriptor.MaybeOffloaded<TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[]>> |
getAllSerializedShuffleDescriptors() |
void |
markPartitionFinished(IntermediateResultPartition resultPartition) |
void |
serializeShuffleDescriptors(FunctionWithException<TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[],TaskDeploymentDescriptor.MaybeOffloaded<TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[]>,IOException> shuffleDescriptorSerializer) |
public CachedShuffleDescriptors(ConsumedPartitionGroup consumedPartitionGroup, TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[] shuffleDescriptors)
public List<TaskDeploymentDescriptor.MaybeOffloaded<TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[]>> getAllSerializedShuffleDescriptors()
public void serializeShuffleDescriptors(FunctionWithException<TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[],TaskDeploymentDescriptor.MaybeOffloaded<TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[]>,IOException> shuffleDescriptorSerializer) throws IOException
IOException
public void markPartitionFinished(IntermediateResultPartition resultPartition)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.