Class JobStatusQueryResponse
java.lang.Object
com.linkedin.venice.controllerapi.ControllerResponse
com.linkedin.venice.controllerapi.JobStatusQueryResponse
Response for querying job status.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Only used for JSON serialization purposes.N.B.: The values in this map conform toExecutionStatus
values.N.B.: Older versions of the controller did not support these timestamps, so this map can be null.N.B.: Older versions of the controller did not support these details, so the optional can be empty.N.B.: Older versions of the controller did not support these details, so the optional can be empty.Deprecated.Only used for JSON serialization purposes.N.B.: Older versions of the controller did not support this timestamp, so this can be null.int
void
setExtraDetails
(Map<String, String> extraDetails) void
setExtraInfo
(Map<String, String> extraInfo) void
setExtraInfoUpdateTimestamp
(Map<String, Long> extraInfoUpdateTimestamp) void
void
setStatusDetails
(String statusDetails) void
setStatusUpdateTimestamp
(Long statusUpdateTimestamp) void
setUncompletedPartitions
(List<UncompletedPartition> uncompletedPartitions) void
setVersion
(int version) toString()
Methods inherited from class com.linkedin.venice.controllerapi.ControllerResponse
getCluster, getError, getErrorType, getExceptionType, getName, isError, setCluster, setError, setError, setError, setErrorType, setName
-
Constructor Details
-
JobStatusQueryResponse
public JobStatusQueryResponse()
-
-
Method Details
-
getVersion
public int getVersion() -
setVersion
public void setVersion(int version) -
getStatus
-
setStatus
-
getOptionalStatusDetails
N.B.: Older versions of the controller did not support these details, so the optional can be empty. -
getStatusDetails
Deprecated.Only used for JSON serialization purposes. UsegetOptionalExtraDetails()
instead. -
setStatusDetails
-
getStatusUpdateTimestamp
N.B.: Older versions of the controller did not support this timestamp, so this can be null.- Returns:
- the UNIX Epoch timestamp when the value of
getStatus()
was last updated (for child controllers), null for parent controllers and for older versions of child controllers.
-
setStatusUpdateTimestamp
-
getExtraInfo
N.B.: The values in this map conform toExecutionStatus
values.- Returns:
- A map of region name -> status, which can be returned by a parent controller.
-
setExtraInfo
-
getOptionalExtraDetails
N.B.: Older versions of the controller did not support these details, so the optional can be empty.- Returns:
- A map of region name -> status details, which can be returned by a parent controller.
-
getExtraDetails
Deprecated.Only used for JSON serialization purposes. UsegetOptionalExtraDetails()
instead. -
setExtraDetails
-
getExtraInfoUpdateTimestamp
N.B.: Older versions of the controller did not support these timestamps, so this map can be null.- Returns:
- a map of region name -> UNIX Epoch timestamp indicating when the value corresponding to the same key in
getExtraInfo()
was last updated, or null if not available.
-
setExtraInfoUpdateTimestamp
-
setUncompletedPartitions
-
getUncompletedPartitions
-
toString
- Overrides:
toString
in classControllerResponse
-