Package com.linkedin.venice.datarecovery
Class StoreRepushCommand
java.lang.Object
com.linkedin.venice.datarecovery.Command
com.linkedin.venice.datarecovery.StoreRepushCommand
StoreRepushCommand contains the details of executing/processing repush command.
We expect the command to comply with the following contract:
Input:
[] --store --fabric
Output:
success: link_to_running_task
failure: failure_reason
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteCoreWorkWithError(String error) voidcompleteCoreWorkWithMessage(String message) voidexecute()booleanbooleanvoidsetParams(StoreRepushCommand.Params params) toString()Methods inherited from class com.linkedin.venice.datarecovery.Command
buildControllerClient
-
Constructor Details
-
StoreRepushCommand
public StoreRepushCommand() -
StoreRepushCommand
-
-
Method Details
-
setParams
-
getParams
-
getResult
-
needWaitForFirstTaskToComplete
public boolean needWaitForFirstTaskToComplete()- Specified by:
needWaitForFirstTaskToCompletein classCommand
-
isShellCmdExecuted
public boolean isShellCmdExecuted() -
completeCoreWorkWithMessage
-
completeCoreWorkWithError
-
getShellCmd
-
getViabilityResult
-
getRepushViability
-
execute
public void execute() -
toString
-