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
InterruptedException
LogException
void sendLogGroup(String hashKey, String topicId, String source, String filename, PutLogRequest.LogGroup logGroup, CallBack callBack) throws InterruptedException, LogException
InterruptedException
LogException
void resetAccessKeyToken(String accessKey, String secretKey, String securityToken) throws LogException
LogException
void start() throws LogException
LogException
void close() throws InterruptedException, LogException
InterruptedException
LogException
void closeNow() throws InterruptedException, LogException
InterruptedException
LogException
void config(ProducerConfig producerConfig) throws LogException
LogException
Copyright © 2022. All rights reserved.