Package com.linkedin.venice.datarecovery
Class DataRecoveryWorker
java.lang.Object
com.linkedin.venice.datarecovery.DataRecoveryWorker
- Direct Known Subclasses:
- DataRecoveryEstimator,- DataRecoveryExecutor,- DataRecoveryMonitor
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected intstatic final intprotected final ExecutorServiceprotected final intprotected List<DataRecoveryTask>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetTasks()booleanFor some task, it is benefit to wait for the first task to complete before starting to run the remaining ones.voidperform(Set<String> storeNames, Command.Params params) voidvoid
- 
Field Details- 
INTERVAL_UNSETpublic static final int INTERVAL_UNSET- See Also:
 
- 
poolSizeprotected final int poolSize
- 
intervalprotected int interval
- 
pool
- 
tasks
 
- 
- 
Constructor Details- 
DataRecoveryWorkerpublic DataRecoveryWorker()
- 
DataRecoveryWorkerpublic DataRecoveryWorker(int poolSize) 
 
- 
- 
Method Details- 
getTasks
- 
needWaitForFirstTaskToCompleteFor 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
- 
processDatapublic void processData()
- 
shutdownAndAwaitTerminationpublic void shutdownAndAwaitTermination()
 
-