public interface Producer
LogProducerLogProducer| 限定符和类型 | 方法和说明 |
|---|---|
int |
availableMemoryInBytes()
|
void |
close()
|
void |
close(long timeoutMs)
|
int |
getBatchCount()
|
ProducerConfig |
getProducerConfig()
|
void |
putProjectConfig(ProjectConfig projectConfig)
|
void |
removeProjectConfig(ProjectConfig projectConfig)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
send(String project,
String logStore,
List<com.aliyun.openservices.log.common.LogItem> logItems)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
send(String project,
String logStore,
List<com.aliyun.openservices.log.common.LogItem> logItems,
Callback callback)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
send(String project,
String logStore,
com.aliyun.openservices.log.common.LogItem logItem)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
send(String project,
String logStore,
com.aliyun.openservices.log.common.LogItem logItem,
Callback callback)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
send(String project,
String logStore,
String topic,
String source,
List<com.aliyun.openservices.log.common.LogItem> logItems)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
send(String project,
String logStore,
String topic,
String source,
List<com.aliyun.openservices.log.common.LogItem> logItems,
Callback callback)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
send(String project,
String logStore,
String topic,
String source,
com.aliyun.openservices.log.common.LogItem logItem)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
send(String project,
String logStore,
String topic,
String source,
com.aliyun.openservices.log.common.LogItem logItem,
Callback callback)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
send(String project,
String logStore,
String topic,
String source,
String shardHash,
List<com.aliyun.openservices.log.common.LogItem> logItems)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
send(String project,
String logStore,
String topic,
String source,
String shardHash,
List<com.aliyun.openservices.log.common.LogItem> logItems,
Callback callback)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
send(String project,
String logStore,
String topic,
String source,
String shardHash,
com.aliyun.openservices.log.common.LogItem logItem)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
send(String project,
String logStore,
String topic,
String source,
String shardHash,
com.aliyun.openservices.log.common.LogItem logItem,
Callback callback)
|
com.google.common.util.concurrent.ListenableFuture<Result> send(String project, String logStore, com.aliyun.openservices.log.common.LogItem logItem) throws InterruptedException, ProducerException
com.google.common.util.concurrent.ListenableFuture<Result> send(String project, String logStore, List<com.aliyun.openservices.log.common.LogItem> logItems) throws InterruptedException, ProducerException
com.google.common.util.concurrent.ListenableFuture<Result> send(String project, String logStore, String topic, String source, com.aliyun.openservices.log.common.LogItem logItem) throws InterruptedException, ProducerException
com.google.common.util.concurrent.ListenableFuture<Result> send(String project, String logStore, String topic, String source, List<com.aliyun.openservices.log.common.LogItem> logItems) throws InterruptedException, ProducerException
com.google.common.util.concurrent.ListenableFuture<Result> send(String project, String logStore, String topic, String source, String shardHash, com.aliyun.openservices.log.common.LogItem logItem) throws InterruptedException, ProducerException
com.google.common.util.concurrent.ListenableFuture<Result> send(String project, String logStore, String topic, String source, String shardHash, List<com.aliyun.openservices.log.common.LogItem> logItems) throws InterruptedException, ProducerException
com.google.common.util.concurrent.ListenableFuture<Result> send(String project, String logStore, com.aliyun.openservices.log.common.LogItem logItem, Callback callback) throws InterruptedException, ProducerException
com.google.common.util.concurrent.ListenableFuture<Result> send(String project, String logStore, List<com.aliyun.openservices.log.common.LogItem> logItems, Callback callback) throws InterruptedException, ProducerException
com.google.common.util.concurrent.ListenableFuture<Result> send(String project, String logStore, String topic, String source, com.aliyun.openservices.log.common.LogItem logItem, Callback callback) throws InterruptedException, ProducerException
com.google.common.util.concurrent.ListenableFuture<Result> send(String project, String logStore, String topic, String source, List<com.aliyun.openservices.log.common.LogItem> logItems, Callback callback) throws InterruptedException, ProducerException
com.google.common.util.concurrent.ListenableFuture<Result> send(String project, String logStore, String topic, String source, String shardHash, com.aliyun.openservices.log.common.LogItem logItem, Callback callback) throws InterruptedException, ProducerException
com.google.common.util.concurrent.ListenableFuture<Result> send(String project, String logStore, String topic, String source, String shardHash, List<com.aliyun.openservices.log.common.LogItem> logItems, Callback callback) throws InterruptedException, ProducerException
void close()
throws InterruptedException,
ProducerException
void close(long timeoutMs)
throws InterruptedException,
ProducerException
ProducerConfig getProducerConfig()
int getBatchCount()
int availableMemoryInBytes()
void putProjectConfig(ProjectConfig projectConfig)
void removeProjectConfig(ProjectConfig projectConfig)
Copyright © 2019. All rights reserved.