Class TaskManager


  • public class TaskManager
    extends Object
    • Method Detail

      • processId

        public UUID processId()
      • getTaskOffsetSums

        public Map<TaskId,​Long> getTaskOffsetSums()
        Compute the offset total summed across all stores in a task. Includes offset sum for any tasks we own the lock for, which includes assigned and unassigned tasks we locked in tryToLockAllNonEmptyTaskDirectories(). Does not include stateless or non-logged tasks.
      • toString

        public String toString()
        Produces a string representation containing useful information about the TaskManager. This is useful in debugging scenarios.
        Overrides:
        toString in class Object
        Returns:
        A string representation of the TaskManager instance.
      • executeAndMaybeSwallow

        public static void executeAndMaybeSwallow​(boolean clean,
                                                  Runnable runnable,
                                                  String name,
                                                  org.slf4j.Logger log)