Class InflightDataRescalingDescriptor
java.lang.Object
org.apache.flink.runtime.checkpoint.InflightDataRescalingDescriptor
- All Implemented Interfaces:
Serializable
Captures ambiguous mappings of old channels to new channels for a particular gate or partition.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCaptures ambiguous mappings of old channels to new channels. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInflightDataRescalingDescriptor(InflightDataRescalingDescriptor.InflightDataGateOrPartitionRescalingDescriptor[] gateOrPartitionDescriptors) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetChannelMapping(int gateOrPartitionIndex) int[]getOldSubtaskIndexes(int gateOrPartitionIndex) inthashCode()booleanisAmbiguous(int gateOrPartitionIndex, int oldSubtaskIndex) toString()
-
Field Details
-
NO_RESCALE
-
-
Constructor Details
-
InflightDataRescalingDescriptor
public InflightDataRescalingDescriptor(InflightDataRescalingDescriptor.InflightDataGateOrPartitionRescalingDescriptor[] gateOrPartitionDescriptors)
-
-
Method Details
-
getOldSubtaskIndexes
public int[] getOldSubtaskIndexes(int gateOrPartitionIndex) -
getChannelMapping
-
isAmbiguous
public boolean isAmbiguous(int gateOrPartitionIndex, int oldSubtaskIndex) -
equals
-
hashCode
public int hashCode() -
toString
-