Package com.linkedin.venice.pushmonitor
Class ExecutionStatusWithDetails
- java.lang.Object
-
- com.linkedin.venice.pushmonitor.ExecutionStatusWithDetails
-
public class ExecutionStatusWithDetails extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ExecutionStatusWithDetails(ExecutionStatus status)
ExecutionStatusWithDetails(ExecutionStatus status, java.lang.String details)
ExecutionStatusWithDetails(ExecutionStatus status, java.lang.String details, boolean noDaVinciStatusReport)
ExecutionStatusWithDetails(ExecutionStatus status, java.lang.String details, boolean noDaVinciStatusReport, java.lang.Long statusUpdateTimestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDetails()
ExecutionStatus
getStatus()
java.lang.Long
getStatusUpdateTimestamp()
N.B.: This is not available in older controller versions, and not available for all statuses (e.g.boolean
isNoDaVinciStatusReport()
-
-
-
Constructor Detail
-
ExecutionStatusWithDetails
public ExecutionStatusWithDetails(ExecutionStatus status, java.lang.String details, boolean noDaVinciStatusReport, java.lang.Long statusUpdateTimestamp)
-
ExecutionStatusWithDetails
public ExecutionStatusWithDetails(ExecutionStatus status, java.lang.String details, boolean noDaVinciStatusReport)
-
ExecutionStatusWithDetails
public ExecutionStatusWithDetails(ExecutionStatus status, java.lang.String details)
-
ExecutionStatusWithDetails
public ExecutionStatusWithDetails(ExecutionStatus status)
-
-
Method Detail
-
getStatus
public ExecutionStatus getStatus()
-
getDetails
public java.lang.String getDetails()
-
isNoDaVinciStatusReport
public boolean isNoDaVinciStatusReport()
-
getStatusUpdateTimestamp
public java.lang.Long getStatusUpdateTimestamp()
N.B.: This is not available in older controller versions, and not available for all statuses (e.g. if the status isExecutionStatus.NOT_CREATED
, it does not have this timestamp).- Returns:
- the UNIX Epoch timestamp of the last update to the status, or null if not available.
-
-