类 CheckpointBarrier

    • 构造器详细资料

      • CheckpointBarrier

        public CheckpointBarrier​(long id,
                                 long timestamp,
                                 org.apache.seatunnel.engine.core.checkpoint.CheckpointType checkpointType)
      • CheckpointBarrier

        public CheckpointBarrier​(long id,
                                 long timestamp,
                                 org.apache.seatunnel.engine.core.checkpoint.CheckpointType checkpointType,
                                 Set<TaskLocation> prepareCloseTasks,
                                 Set<TaskLocation> closedTasks)
    • 方法详细资料

      • snapshot

        public boolean snapshot()
        从接口复制的说明: Barrier
        Whether the task needs to perform a status snapshot after the barrier is aligned. For example, DDL barrier does not require a snapshot.
        指定者:
        snapshot 在接口中 Barrier
      • prepareClose

        public boolean prepareClose()
        从接口复制的说明: Barrier
        Barrier indicating that the task should prepare to close.
        指定者:
        prepareClose 在接口中 Barrier
      • prepareClose

        public boolean prepareClose​(TaskLocation task)
        从接口复制的说明: Barrier
        Barrier indicating that the task should prepare to close.
        指定者:
        prepareClose 在接口中 Barrier
        参数:
        task - task location
        返回:
        If the task is included, the return true
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object
      • isAuto

        public boolean isAuto()