Interface ZKSplitLogManagerCoordination.TaskFinisher

Enclosing class:
ZKSplitLogManagerCoordination

SplitLogManager can use objects implementing this interface to finish off a partially done task by SplitLogWorker. This provides a serialization point at the end of the task processing. Must be restartable and idempotent.
  • Method Details

    • finish

      finish the partially done task. workername provides clue to where the partial results of the partially done tasks are present. taskname is the name of the task that was put up in zookeeper.

      Returns:
      DONE if task completed successfully, ERR otherwise