类 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)voidabortCheckpointTimeoutFutureWhenIsCompleted()voidacknowledgeTask(TaskLocation taskLocation, List<ActionSubtaskState> states, SubtaskStatus subtaskStatus)protected Map<ActionStateKey,ActionState>getActionStates()longgetCheckpointId()longgetCheckpointTimestamp()org.apache.seatunnel.engine.core.checkpoint.CheckpointTypegetCheckpointType()org.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<CompletedCheckpoint>getCompletableFuture()StringgetInfo()longgetJobId()intgetPipelineId()protected Map<Long,TaskStatistics>getTaskStatistics()protected booleanisFullyAcknowledged()
-
-
-
构造器详细资料
-
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
protected Map<Long,TaskStatistics> getTaskStatistics()
-
getActionStates
protected Map<ActionStateKey,ActionState> 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
public void abortCheckpoint(CheckpointCloseReason closedReason, Throwable cause)
-
abortCheckpointTimeoutFutureWhenIsCompleted
public void abortCheckpointTimeoutFutureWhenIsCompleted()
-
getInfo
public String getInfo()
-
-