public interface Producer
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeNow() |
void |
config(ProducerConfig producerConfig) |
void |
resetAccessKeyToken(String accessKey,
String secretKey,
String securityToken) |
void |
sendLog(String hashKey,
String topicId,
String source,
String filename,
PutLogRequest.Log log,
CallBack callBack)
Deprecated.
|
void |
sendLogGroup(String hashKey,
String topicId,
String source,
String filename,
PutLogRequest.LogGroup logGroup,
CallBack callBack)
Deprecated.
|
void |
sendLogsV2(String hashKey,
String topicId,
String source,
String filename,
List<LogItem> logs,
CallBack callBack) |
void |
sendLogV2(String hashKey,
String topicId,
String source,
String filename,
LogItem log,
CallBack callBack) |
void |
start() |
@Deprecated void sendLog(String hashKey, String topicId, String source, String filename, PutLogRequest.Log log, CallBack callBack) throws InterruptedException, LogException
InterruptedExceptionLogException@Deprecated void sendLogGroup(String hashKey, String topicId, String source, String filename, PutLogRequest.LogGroup logGroup, CallBack callBack) throws InterruptedException, LogException
InterruptedExceptionLogExceptionvoid sendLogV2(String hashKey, String topicId, String source, String filename, LogItem log, CallBack callBack) throws InterruptedException, LogException
InterruptedExceptionLogExceptionvoid sendLogsV2(String hashKey, String topicId, String source, String filename, List<LogItem> logs, CallBack callBack) throws InterruptedException, LogException
InterruptedExceptionLogExceptionvoid resetAccessKeyToken(String accessKey, String secretKey, String securityToken) throws LogException
LogExceptionvoid start()
throws LogException
LogExceptionvoid close()
throws InterruptedException,
LogException
InterruptedExceptionLogExceptionvoid closeNow()
throws InterruptedException,
LogException
InterruptedExceptionLogExceptionvoid config(ProducerConfig producerConfig) throws LogException
LogExceptionCopyright © 2023. All rights reserved.