Serializablepublic class BatchGetLogResponse extends Response
| 修饰符和类型 | 字段 | 说明 |
|---|---|---|
protected List<LogGroupData> |
mLogGroups |
|
protected int |
mRawSize |
| 构造器 | 说明 |
|---|---|
BatchGetLogResponse(Map<String,String> headers) |
default consutructor for unittest
|
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() |
|
void |
ParseFastLogGroupList(byte[] uncompressedData) |
parse LogGroupList using fast deserialize methold
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitGetAllHeaders, GetHeader, GetRequestIdprotected List<LogGroupData> mLogGroups
protected int mRawSize
public BatchGetLogResponse(Map<String,String> headers)
headers - 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 void ParseFastLogGroupList(byte[] uncompressedData)
throws LogException
uncompressedData - is LogGroupList bytesLogExceptionpublic 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 © 2018. All Rights Reserved.