Class TaskStateManagerImpl

  • All Implemented Interfaces:
    AutoCloseable, CheckpointListener, TaskStateManager

    public class TaskStateManagerImpl
    extends Object
    implements TaskStateManager
    This class is the default implementation of TaskStateManager and collaborates with the job manager through CheckpointResponder) as well as a task-manager-local state store. Like this, client code does not have to deal with the differences between remote or local state on recovery because this class handles both cases transparently.

    Reported state is tagged by clients so that this class can properly forward to the right receiver for the checkpointed state.