Class DataRecoveryTask

java.lang.Object
com.linkedin.venice.datarecovery.DataRecoveryTask
All Implemented Interfaces:
Runnable

public class DataRecoveryTask extends Object implements Runnable
A Task is wrapper class that designed to execute multiple commands in sequence.
  • Constructor Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • needWaitForFirstTaskToComplete

      public boolean needWaitForFirstTaskToComplete()
      For some task, it is benefit to wait for the first task to complete before starting to run the remaining ones. Thus, this is a task specific flag to set based on the purpose of the task.
    • getTaskResult

      public DataRecoveryTask.TaskResult getTaskResult()
    • getCommand

      public Command getCommand()
    • getTaskParams

      public DataRecoveryTask.TaskParams getTaskParams()