Class InflightDataRescalingDescriptor
- java.lang.Object
-
- org.apache.flink.runtime.checkpoint.InflightDataRescalingDescriptor
-
- All Implemented Interfaces:
Serializable
public class InflightDataRescalingDescriptor extends Object implements Serializable
Captures ambiguous mappings of old channels to new channels for a particular gate or partition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInflightDataRescalingDescriptor.InflightDataGateOrPartitionRescalingDescriptorCaptures ambiguous mappings of old channels to new channels.
-
Field Summary
Fields Modifier and Type Field Description static InflightDataRescalingDescriptorNO_RESCALE
-
Constructor Summary
Constructors Constructor Description InflightDataRescalingDescriptor(InflightDataRescalingDescriptor.InflightDataGateOrPartitionRescalingDescriptor[] gateOrPartitionDescriptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)RescaleMappingsgetChannelMapping(int gateOrPartitionIndex)int[]getOldSubtaskIndexes(int gateOrPartitionIndex)inthashCode()booleanisAmbiguous(int gateOrPartitionIndex, int oldSubtaskIndex)StringtoString()
-
-
-
Field Detail
-
NO_RESCALE
public static final InflightDataRescalingDescriptor NO_RESCALE
-
-
Constructor Detail
-
InflightDataRescalingDescriptor
public InflightDataRescalingDescriptor(InflightDataRescalingDescriptor.InflightDataGateOrPartitionRescalingDescriptor[] gateOrPartitionDescriptors)
-
-
Method Detail
-
getOldSubtaskIndexes
public int[] getOldSubtaskIndexes(int gateOrPartitionIndex)
-
getChannelMapping
public RescaleMappings getChannelMapping(int gateOrPartitionIndex)
-
isAmbiguous
public boolean isAmbiguous(int gateOrPartitionIndex, int oldSubtaskIndex)
-
-