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 class
InflightDataRescalingDescriptor.InflightDataGateOrPartitionRescalingDescriptor
Captures ambiguous mappings of old channels to new channels.
-
Field Summary
Fields Modifier and Type Field Description static InflightDataRescalingDescriptor
NO_RESCALE
-
Constructor Summary
Constructors Constructor Description InflightDataRescalingDescriptor(InflightDataRescalingDescriptor.InflightDataGateOrPartitionRescalingDescriptor[] gateOrPartitionDescriptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
RescaleMappings
getChannelMapping(int gateOrPartitionIndex)
int[]
getOldSubtaskIndexes(int gateOrPartitionIndex)
int
hashCode()
boolean
isAmbiguous(int gateOrPartitionIndex, int oldSubtaskIndex)
String
toString()
-
-
-
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)
-
-