Package org.apache.flink.runtime.shuffle
Class DefaultPartitionWithMetrics
- java.lang.Object
-
- org.apache.flink.runtime.shuffle.DefaultPartitionWithMetrics
-
- All Implemented Interfaces:
Serializable
,PartitionWithMetrics
public class DefaultPartitionWithMetrics extends Object implements PartitionWithMetrics
DefaultPartitionWithMetrics
implementation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultPartitionWithMetrics(ShuffleDescriptor shuffleDescriptor, ShuffleMetrics partitionMetrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShuffleDescriptor
getPartition()
ShuffleMetrics
getPartitionMetrics()
-
-
-
Constructor Detail
-
DefaultPartitionWithMetrics
public DefaultPartitionWithMetrics(ShuffleDescriptor shuffleDescriptor, ShuffleMetrics partitionMetrics)
-
-
Method Detail
-
getPartitionMetrics
public ShuffleMetrics getPartitionMetrics()
- Specified by:
getPartitionMetrics
in interfacePartitionWithMetrics
-
getPartition
public ShuffleDescriptor getPartition()
- Specified by:
getPartition
in interfacePartitionWithMetrics
-
-