Interface TaskCheckpointListener

All Superinterfaces:

public interface TaskCheckpointListener
extends TaskEventListener

Listener for task checkpoint events.

Method Summary
 void checkpointLogged(TaskCheckpointEvent event)
          Called when a new checkpoint becomes available for the task.

Method Detail


void checkpointLogged(TaskCheckpointEvent event)
Called when a new checkpoint becomes available for the task. Note that not all task events are guaranteed to be propogated back to listeners; in particular, checkpoint events are generally only propogated to listeners in local execution mode, but even then it is not guaranteed.

The event given is valid only during the lifetime of the listener method invocation, and it should not be maintained outside this scope or used after the method completes; any attempt to do so will result in undefined behavior.

event - valid only for the length of the method invocation