public class BatchGetLogResponse extends Response
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<LogGroupData> |
mLogGroups |
protected int |
mRawSize |
| 构造器和说明 |
|---|
BatchGetLogResponse(Map<String,String> headers,
byte[] rawData)
Construct the response with http headers
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
GetCount() |
LogGroupData |
GetLogGroup(int index)
get one uncompressed log group by index
|
List<LogGroupData> |
GetLogGroups()
get all uncompressed log groups
|
List<LogGroupData> |
GetLogGroups(int offset)
get uncompressed log groups with offset
|
String |
GetNextCursor() |
int |
GetRawSize() |
GetAllHeaders, GetHeader, GetRequestIdprotected List<LogGroupData> mLogGroups
protected int mRawSize
public BatchGetLogResponse(Map<String,String> headers, byte[] rawData) throws LogException
headers - http headersrawData - the response byte array dataLogException - if any error occurs in generating compressed log datapublic int GetRawSize()
public String GetNextCursor()
public int GetCount()
public LogGroupData GetLogGroup(int index) throws LogException
index - the index of log group arrayLogException - if any error occurs in getting uncompressed log grouppublic List<LogGroupData> GetLogGroups(int offset) throws LogException
offset - the offset to get log groups, starts with 0LogException - if any error occurs in getting uncompressed log groups with offsetpublic List<LogGroupData> GetLogGroups() throws LogException
LogException - if any error occurs in getting uncompressed log groupsCopyright © 2016. All Rights Reserved.