public class RequestStatus extends AbstractModel
| Constructor and Description |
|---|
RequestStatus() |
RequestStatus(RequestStatus source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
Float |
getDuration()
Get Time consumed for the request in ms
|
String |
getFunctionName()
Get Function name
|
Float |
getMemUsage()
Get Time consumed by the request in MB
|
String |
getRequestId()
Get Request ID
|
Long |
getRetCode()
Get Result of the request.
|
String |
getRetMsg()
Get Return value after the function is executed
|
Long |
getRetryNum()
Get Retry Attempts
|
String |
getStartTime()
Get Request start time
|
void |
setDuration(Float Duration)
Set Time consumed for the request in ms
|
void |
setFunctionName(String FunctionName)
Set Function name
|
void |
setMemUsage(Float MemUsage)
Set Time consumed by the request in MB
|
void |
setRequestId(String RequestId)
Set Request ID
|
void |
setRetCode(Long RetCode)
Set Result of the request.
|
void |
setRetMsg(String RetMsg)
Set Return value after the function is executed
|
void |
setRetryNum(Long RetryNum)
Set Retry Attempts
|
void |
setStartTime(String StartTime)
Set Request start time
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic RequestStatus()
public RequestStatus(RequestStatus source)
public String getFunctionName()
public void setFunctionName(String FunctionName)
FunctionName - Function namepublic String getRetMsg()
public void setRetMsg(String RetMsg)
RetMsg - Return value after the function is executedpublic String getRequestId()
public void setRequestId(String RequestId)
RequestId - Request IDpublic String getStartTime()
public void setStartTime(String StartTime)
StartTime - Request start timepublic Long getRetCode()
public void setRetCode(Long RetCode)
RetCode - Result of the request. `0`: succeeded, `1`: running, `-1`: exceptionpublic Float getDuration()
public void setDuration(Float Duration)
Duration - Time consumed for the request in mspublic Float getMemUsage()
public void setMemUsage(Float MemUsage)
MemUsage - Time consumed by the request in MBpublic Long getRetryNum()
public void setRetryNum(Long RetryNum)
RetryNum - Retry AttemptsCopyright © 2022. All rights reserved.