Package com.linkedin.venice.datarecovery
Class DataRecoveryTask
java.lang.Object
com.linkedin.venice.datarecovery.DataRecoveryTask
- All Implemented Interfaces:
Runnable
A Task is wrapper class that designed to execute multiple commands in sequence.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
For some task, it is benefit to wait for the first task to complete before starting to run the remaining ones.void
run()
-
Constructor Details
-
DataRecoveryTask
-
-
Method Details
-
run
public void run() -
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
-
getCommand
-
getTaskParams
-