Class FileMergingSnapshotManager.SubtaskKey

  • Enclosing interface:
    FileMergingSnapshotManager

    public static final class FileMergingSnapshotManager.SubtaskKey
    extends Object
    A key identifies a subtask. A subtask can be identified by the operator id, subtask index and the parallelism. Note that this key should be consistent across job attempts.
    • Constructor Detail

      • SubtaskKey

        public SubtaskKey​(OperatorID operatorID,
                          org.apache.flink.api.common.TaskInfo taskInfo)
      • SubtaskKey

        @VisibleForTesting
        public SubtaskKey​(String operatorIDString,
                          int subtaskIndex,
                          int parallelism)
    • Method Detail

      • getManagedDirName

        public String getManagedDirName()
        Generate an unique managed directory name for one subtask.
        Returns:
        the managed directory name.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object