Class AdminCommandExecution

java.lang.Object
com.linkedin.venice.controllerapi.AdminCommandExecution

public class AdminCommandExecution extends Object
The execution object is a kind of context for a admin command including essential information used to track the status of this command.
  • Constructor Details

    • AdminCommandExecution

      public AdminCommandExecution()
      CTOR used by JSON serializer.
    • AdminCommandExecution

      public AdminCommandExecution(long executionId, String operation, String clusterName, Collection<String> fabrics)
  • Method Details

    • isSucceedInAllFabric

      public boolean isSucceedInAllFabric()
    • checkAndUpdateStatusForRemoteFabric

      public void checkAndUpdateStatusForRemoteFabric(String fabric, ControllerClient controllerClient)
    • updateCommandStatusForFabric

      public void updateCommandStatusForFabric(String fabric, AdminCommandExecutionStatus status)
    • getExecutionId

      public long getExecutionId()
    • setExecutionId

      public void setExecutionId(long executionId)
    • getOperation

      public String getOperation()
    • setOperation

      public void setOperation(String operation)
    • getClusterName

      public String getClusterName()
    • setClusterName

      public void setClusterName(String clusterName)
    • getStartTime

      public String getStartTime()
    • setStartTime

      public void setStartTime(String startTime)
    • getFabricToExecutionStatusMap

      public ConcurrentMap<String,AdminCommandExecutionStatus> getFabricToExecutionStatusMap()
    • setFabricToExecutionStatusMap

      public void setFabricToExecutionStatusMap(ConcurrentMap<String,AdminCommandExecutionStatus> fabricToExecutionStatusMap)
    • toString

      public String toString()
      Overrides:
      toString in class Object