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) |
void |
sendLogGroup(String hashKey,
String topicId,
String source,
String filename,
PutLogRequest.LogGroup logGroup,
CallBack callBack) |
void |
start() |
void sendLog(String hashKey, String topicId, String source, String filename, PutLogRequest.Log log, CallBack callBack) throws InterruptedException, LogException
InterruptedExceptionLogExceptionvoid sendLogGroup(String hashKey, String topicId, String source, String filename, PutLogRequest.LogGroup logGroup, 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.