类 PendingCheckpoint
java.lang.Object
org.apache.seatunnel.engine.server.checkpoint.PendingCheckpoint
- 所有已实现的接口:
org.apache.seatunnel.engine.core.checkpoint.Checkpoint
public class PendingCheckpoint
extends Object
implements org.apache.seatunnel.engine.core.checkpoint.Checkpoint
-
构造器概要
构造器构造器说明PendingCheckpoint(long jobId, int pipelineId, long checkpointId, long triggerTimestamp, org.apache.seatunnel.engine.core.checkpoint.CheckpointType checkpointType, Set<Long> notYetAcknowledgedTasks, Map<Long, TaskStatistics> taskStatistics, Map<ActionStateKey, ActionState> actionStates) -
方法概要
修饰符和类型方法说明voidabortCheckpoint(CheckpointCloseReason closedReason, Throwable cause) voidvoidacknowledgeTask(TaskLocation taskLocation, List<ActionSubtaskState> states, SubtaskStatus subtaskStatus) protected Map<ActionStateKey,ActionState> longlongorg.apache.seatunnel.engine.core.checkpoint.CheckpointTypeorg.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<CompletedCheckpoint>getInfo()longgetJobId()intprotected Map<Long,TaskStatistics> protected boolean
-
构造器详细资料
-
PendingCheckpoint
public PendingCheckpoint(long jobId, int pipelineId, long checkpointId, long triggerTimestamp, org.apache.seatunnel.engine.core.checkpoint.CheckpointType checkpointType, Set<Long> notYetAcknowledgedTasks, Map<Long, TaskStatistics> taskStatistics, Map<ActionStateKey, ActionState> actionStates)
-
-
方法详细资料
-
getCheckpointId
public long getCheckpointId()- 指定者:
getCheckpointId在接口中org.apache.seatunnel.engine.core.checkpoint.Checkpoint
-
getPipelineId
public int getPipelineId()- 指定者:
getPipelineId在接口中org.apache.seatunnel.engine.core.checkpoint.Checkpoint
-
getJobId
public long getJobId()- 指定者:
getJobId在接口中org.apache.seatunnel.engine.core.checkpoint.Checkpoint
-
getCheckpointTimestamp
public long getCheckpointTimestamp()- 指定者:
getCheckpointTimestamp在接口中org.apache.seatunnel.engine.core.checkpoint.Checkpoint
-
getCheckpointType
public org.apache.seatunnel.engine.core.checkpoint.CheckpointType getCheckpointType()- 指定者:
getCheckpointType在接口中org.apache.seatunnel.engine.core.checkpoint.Checkpoint
-
getTaskStatistics
-
getActionStates
-
getCompletableFuture
public org.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<CompletedCheckpoint> getCompletableFuture() -
acknowledgeTask
public void acknowledgeTask(TaskLocation taskLocation, List<ActionSubtaskState> states, SubtaskStatus subtaskStatus) -
isFullyAcknowledged
protected boolean isFullyAcknowledged() -
abortCheckpoint
-
abortCheckpointTimeoutFutureWhenIsCompleted
public void abortCheckpointTimeoutFutureWhenIsCompleted() -
getInfo
-