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
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
completeCoreWorkWithError
(String error) void
completeCoreWorkWithMessage
(String message) void
execute()
boolean
boolean
void
setParams
(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:
needWaitForFirstTaskToComplete
in classCommand
-
isShellCmdExecuted
public boolean isShellCmdExecuted() -
completeCoreWorkWithMessage
-
completeCoreWorkWithError
-
getShellCmd
-
getViabilityResult
-
getRepushViability
-
execute
public void execute() -
toString
-