| 程序包 | 说明 |
|---|---|
| com.aliyun.openservices.aliyun.log.producer | |
| com.aliyun.openservices.aliyun.log.producer.errors | |
| com.aliyun.openservices.aliyun.log.producer.internals |
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Result> |
Producer.send(String project,
String logStore,
List<com.aliyun.openservices.log.common.LogItem> logItems)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
LogProducer.send(String project,
String logStore,
List<com.aliyun.openservices.log.common.LogItem> logItems)
Send a list of logs asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Result> |
Producer.send(String project,
String logStore,
List<com.aliyun.openservices.log.common.LogItem> logItems,
Callback callback)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
LogProducer.send(String project,
String logStore,
List<com.aliyun.openservices.log.common.LogItem> logItems,
Callback callback)
Send a list of logs asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Result> |
Producer.send(String project,
String logStore,
com.aliyun.openservices.log.common.LogItem logItem)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
LogProducer.send(String project,
String logStore,
com.aliyun.openservices.log.common.LogItem logItem)
Send a log asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Result> |
Producer.send(String project,
String logStore,
com.aliyun.openservices.log.common.LogItem logItem,
Callback callback)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
LogProducer.send(String project,
String logStore,
com.aliyun.openservices.log.common.LogItem logItem,
Callback callback)
Send a log asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Result> |
Producer.send(String project,
String logStore,
String topic,
String source,
List<com.aliyun.openservices.log.common.LogItem> logItems)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
LogProducer.send(String project,
String logStore,
String topic,
String source,
List<com.aliyun.openservices.log.common.LogItem> logItems)
Send a list of logs asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Result> |
Producer.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> |
LogProducer.send(String project,
String logStore,
String topic,
String source,
List<com.aliyun.openservices.log.common.LogItem> logItems,
Callback callback)
Send a list of logs asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Result> |
Producer.send(String project,
String logStore,
String topic,
String source,
com.aliyun.openservices.log.common.LogItem logItem)
|
com.google.common.util.concurrent.ListenableFuture<Result> |
LogProducer.send(String project,
String logStore,
String topic,
String source,
com.aliyun.openservices.log.common.LogItem logItem)
Send a log asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Result> |
Producer.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> |
LogProducer.send(String project,
String logStore,
String topic,
String source,
com.aliyun.openservices.log.common.LogItem logItem,
Callback callback)
Send a log asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Result> |
Producer.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> |
LogProducer.send(String project,
String logStore,
String topic,
String source,
String shardHash,
List<com.aliyun.openservices.log.common.LogItem> logItems)
Send a list of logs asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Result> |
Producer.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> |
LogProducer.send(String project,
String logStore,
String topic,
String source,
String shardHash,
List<com.aliyun.openservices.log.common.LogItem> logItems,
Callback callback)
Asynchronously send a list of logs and invoke the provided callback when the send has been
acknowledged.
|
com.google.common.util.concurrent.ListenableFuture<Result> |
Producer.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> |
LogProducer.send(String project,
String logStore,
String topic,
String source,
String shardHash,
com.aliyun.openservices.log.common.LogItem logItem)
Send a log asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<Result> |
Producer.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> |
LogProducer.send(String project,
String logStore,
String topic,
String source,
String shardHash,
com.aliyun.openservices.log.common.LogItem logItem,
Callback callback)
Send a log asynchronously.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Callback.onCompletion(Result result)
A callback method the user can implement to provide asynchronous handling of request
completion.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
ResultFailedException.getResult() |
| 构造器和说明 |
|---|
ResultFailedException(Result result) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Result> |
LogAccumulator.append(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> |
ProducerBatch.tryAppend(List<com.aliyun.openservices.log.common.LogItem> items,
int sizeInBytes,
Callback callback) |
com.google.common.util.concurrent.ListenableFuture<Result> |
ProducerBatch.tryAppend(com.aliyun.openservices.log.common.LogItem item,
int sizeInBytes,
Callback callback) |
Copyright © 2019. All rights reserved.