Class DataRecoveryWorker

java.lang.Object
com.linkedin.venice.datarecovery.DataRecoveryWorker
Direct Known Subclasses:
DataRecoveryEstimator, DataRecoveryExecutor, DataRecoveryMonitor

public abstract class DataRecoveryWorker extends Object
  • Field Details

  • Constructor Details

    • DataRecoveryWorker

      public DataRecoveryWorker()
    • DataRecoveryWorker

      public DataRecoveryWorker(int poolSize)
  • Method Details

    • getTasks

      public List<DataRecoveryTask> getTasks()
    • needWaitForFirstTaskToComplete

      public boolean needWaitForFirstTaskToComplete(DataRecoveryTask task)
      For some task, it is benefit to wait for the first task to complete before starting to run the remaining ones. e.g. the first run of task can set up local session files that can be used by follow-up tasks.
    • perform

      public void perform(Set<String> storeNames, Command.Params params)
    • processData

      public void processData()
    • shutdownAndAwaitTermination

      public void shutdownAndAwaitTermination()