类 CheckpointBarrier
java.lang.Object
org.apache.seatunnel.engine.server.checkpoint.CheckpointBarrier
- 所有已实现的接口:
Serializable,Barrier
- 另请参阅:
-
字段概要
从接口继承的字段 org.apache.seatunnel.engine.server.task.record.Barrier
PREPARE_CLOSE_BARRIER_ID -
构造器概要
构造器构造器说明CheckpointBarrier(long id, long timestamp, org.apache.seatunnel.engine.core.checkpoint.CheckpointType checkpointType) CheckpointBarrier(long id, long timestamp, org.apache.seatunnel.engine.core.checkpoint.CheckpointType checkpointType, Set<TaskLocation> prepareCloseTasks, Set<TaskLocation> closedTasks) -
方法概要
修饰符和类型方法说明Indicates a list of tasks that have been closed.booleaninthashCode()booleanisAuto()booleanBarrier indicating that the task should prepare to close.booleanprepareClose(TaskLocation task) Barrier indicating that the task should prepare to close.booleansnapshot()Whether the task needs to perform a status snapshot after the barrier is aligned.toString()
-
构造器详细资料
-
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()从接口复制的说明:BarrierWhether the task needs to perform a status snapshot after the barrier is aligned. For example, DDL barrier does not require a snapshot. -
prepareClose
public boolean prepareClose()从接口复制的说明:BarrierBarrier indicating that the task should prepare to close.- 指定者:
prepareClose在接口中Barrier
-
prepareClose
从接口复制的说明:BarrierBarrier indicating that the task should prepare to close.- 指定者:
prepareClose在接口中Barrier- 参数:
task- task location- 返回:
- If the task is included, the return true
-
closedTasks
从接口复制的说明:BarrierIndicates a list of tasks that have been closed.- 指定者:
closedTasks在接口中Barrier- 返回:
-
hashCode
public int hashCode() -
equals
-
toString
-
isAuto
public boolean isAuto()
-