public class GetLogsResponse extends SlsResponse
构造器和说明 |
---|
GetLogsResponse(Map<String,String> headers)
Construct the response with http headers
|
限定符和类型 | 方法和说明 |
---|---|
void |
AddLog(QueriedLog log)
Add one log to the response
|
int |
GetCount()
Get log number from the response
|
ArrayList<QueriedLog> |
GetLogs()
Get all logs from the response
|
boolean |
IsCompleted()
Check if the GetHistogram is completed
|
void |
SetLogs(List<QueriedLog> logs)
Set all the log data to the response
|
void |
SetProcessStatus(String processStatus)
Set process status to the response
|
GetAllHeaders, GetHeader, GetRequestId
public void SetProcessStatus(String processStatus)
processStatus
- process status(Complete/InComplete only)public boolean IsCompleted()
public void SetLogs(List<QueriedLog> logs)
logs
- log dataspublic void AddLog(QueriedLog log)
log
- log data to addpublic ArrayList<QueriedLog> GetLogs()
public int GetCount()
Copyright © 2015. All Rights Reserved.