public class PutLogsRequestV2 extends Object
构造器和说明 |
---|
PutLogsRequestV2(List<LogItem> logs,
String topicId) |
PutLogsRequestV2(List<LogItem> logs,
String topicId,
String hashKey,
String compressType) |
限定符和类型 | 方法和说明 |
---|---|
String |
getCompressType() |
String |
getHashKey() |
List<LogItem> |
getLogs() |
String |
getPath() |
String |
getSource() |
String |
getTopicId() |
void |
setCompressType(String compressType) |
void |
setHashKey(String hashKey) |
void |
setLogs(List<LogItem> logs) |
void |
setPath(String path) |
void |
setSource(String source) |
void |
setTopicId(String topicId) |
public PutLogsRequestV2(List<LogItem> logs, String topicId)
logs
- 日志列表topicId
- 日志主题 IDpublic String getTopicId()
public void setTopicId(String topicId)
topicId
- 日志主题 IDpublic String getHashKey()
public void setHashKey(String hashKey)
hashKey
- 路由 Shard 的keypublic String getCompressType()
public void setCompressType(String compressType)
compressType
- 压缩格式,支持lz4、zlibpublic String getPath()
public void setPath(String path)
path
- 日志路径public String getSource()
public void setSource(String source)
source
- 日志来源,一般使用机器 IP 作为标识Copyright © 2023. All rights reserved.