Package com.linkedin.venice.datarecovery
Class Command
- java.lang.Object
-
- com.linkedin.venice.datarecovery.Command
-
- Direct Known Subclasses:
EstimateDataRecoveryTimeCommand
,MonitorCommand
,StoreRepushCommand
public abstract class Command extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Command.Params
static class
Command.Result
-
Constructor Summary
Constructors Constructor Description Command()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ControllerClient
buildControllerClient(java.lang.String clusterName, java.lang.String url, java.util.Optional<SSLFactory> sslFactory)
abstract void
execute()
abstract Command.Result
getResult()
abstract boolean
needWaitForFirstTaskToComplete()
-
-
-
Method Detail
-
execute
public abstract void execute()
-
getResult
public abstract Command.Result getResult()
-
needWaitForFirstTaskToComplete
public abstract boolean needWaitForFirstTaskToComplete()
-
buildControllerClient
public ControllerClient buildControllerClient(java.lang.String clusterName, java.lang.String url, java.util.Optional<SSLFactory> sslFactory)
-
-