public class AcknowledgeCheckpoint extends AbstractCheckpointMessage implements Serializable
TaskManager
to the
JobManager
to signal that the checkpoint of an
individual task is completed.
This message may carry the handle to the task's chained operator state and the key group state.
Constructor and Description |
---|
AcknowledgeCheckpoint(JobID jobId,
ExecutionAttemptID taskExecutionId,
long checkpointId) |
AcknowledgeCheckpoint(JobID job,
ExecutionAttemptID taskExecutionId,
long checkpointId,
CheckpointMetrics checkpointMetrics,
TaskStateSnapshot subtaskState) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
CheckpointMetrics |
getCheckpointMetrics() |
TaskStateSnapshot |
getSubtaskState() |
int |
hashCode() |
String |
toString() |
getCheckpointId, getJob, getTaskExecutionId
public AcknowledgeCheckpoint(JobID job, ExecutionAttemptID taskExecutionId, long checkpointId, CheckpointMetrics checkpointMetrics, TaskStateSnapshot subtaskState)
@VisibleForTesting public AcknowledgeCheckpoint(JobID jobId, ExecutionAttemptID taskExecutionId, long checkpointId)
public TaskStateSnapshot getSubtaskState()
public CheckpointMetrics getCheckpointMetrics()
public boolean equals(Object o)
equals
in class AbstractCheckpointMessage
public int hashCode()
hashCode
in class AbstractCheckpointMessage
public String toString()
toString
in class AbstractCheckpointMessage
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.