类 CheckpointBarrier

java.lang.Object
org.apache.seatunnel.engine.server.checkpoint.CheckpointBarrier
所有已实现的接口:
Serializable, Barrier

public class CheckpointBarrier extends Object implements Barrier, Serializable
另请参阅:
  • 构造器详细资料

    • 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
    • closedTasks

      public Set<TaskLocation> closedTasks()
      从接口复制的说明: Barrier
      Indicates a list of tasks that have been closed.
      指定者:
      closedTasks 在接口中 Barrier
      返回:
    • hashCode

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

      public boolean equals(Object other)
      覆盖:
      equals 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • isAuto

      public boolean isAuto()