public interface MessageFetcher extends LifeCycle
| 限定符和类型 | 方法和说明 |
|---|---|
void |
asyncFetch(BrokerNode brokerNode,
String topic,
String app,
int count,
long timeout,
long ackTimeout,
long longPollTimeout,
FetchListener listener) |
Map<String,FetchMessageData> |
batchFetch(BrokerNode brokerNode,
List<String> topics,
String app,
int count,
long timeout,
long ackTimeout,
long longPollTimeout) |
void |
batchFetchAsync(BrokerNode brokerNode,
List<String> topics,
String app,
int count,
long timeout,
long ackTimeout,
long longPollTimeout,
BatchFetchListener listener) |
com.google.common.collect.Table<String,Short,FetchMessageData> |
batchFetchPartitions(BrokerNode brokerNode,
Map<String,Short> partitions,
String app,
int count,
long timeout) |
com.google.common.collect.Table<String,Short,FetchMessageData> |
batchFetchPartitions(BrokerNode brokerNode,
com.google.common.collect.Table<String,Short,Long> partitions,
String app,
int count,
long timeout) |
void |
batchFetchPartitionsAsync(BrokerNode brokerNode,
Map<String,Short> partitions,
String app,
int count,
long timeout,
BatchPartitionFetchListener listener) |
void |
batchFetchPartitionsAsync(BrokerNode brokerNode,
com.google.common.collect.Table<String,Short,Long> partitions,
String app,
int count,
long timeout,
BatchPartitionFetchListener listener) |
FetchMessageData |
fetch(BrokerNode brokerNode,
String topic,
String app,
int count,
long timeout,
long ackTimeout,
long longPollTimeout) |
FetchMessageData |
fetchPartition(BrokerNode brokerNode,
String topic,
String app,
short partition,
int count,
long timeout) |
FetchMessageData |
fetchPartition(BrokerNode brokerNode,
String topic,
String app,
short partition,
long index,
int count,
long timeout) |
void |
fetchPartitionAsync(BrokerNode brokerNode,
String topic,
String app,
short partition,
int count,
long timeout,
PartitionFetchListener listener) |
void |
fetchPartitionAsync(BrokerNode brokerNode,
String topic,
String app,
short partition,
long index,
int count,
long timeout,
PartitionFetchListener listener) |
FetchMessageData fetch(BrokerNode brokerNode, String topic, String app, int count, long timeout, long ackTimeout, long longPollTimeout)
void asyncFetch(BrokerNode brokerNode, String topic, String app, int count, long timeout, long ackTimeout, long longPollTimeout, FetchListener listener)
FetchMessageData fetchPartition(BrokerNode brokerNode, String topic, String app, short partition, int count, long timeout)
void fetchPartitionAsync(BrokerNode brokerNode, String topic, String app, short partition, int count, long timeout, PartitionFetchListener listener)
FetchMessageData fetchPartition(BrokerNode brokerNode, String topic, String app, short partition, long index, int count, long timeout)
void fetchPartitionAsync(BrokerNode brokerNode, String topic, String app, short partition, long index, int count, long timeout, PartitionFetchListener listener)
Map<String,FetchMessageData> batchFetch(BrokerNode brokerNode, List<String> topics, String app, int count, long timeout, long ackTimeout, long longPollTimeout)
void batchFetchAsync(BrokerNode brokerNode, List<String> topics, String app, int count, long timeout, long ackTimeout, long longPollTimeout, BatchFetchListener listener)
com.google.common.collect.Table<String,Short,FetchMessageData> batchFetchPartitions(BrokerNode brokerNode, Map<String,Short> partitions, String app, int count, long timeout)
void batchFetchPartitionsAsync(BrokerNode brokerNode, Map<String,Short> partitions, String app, int count, long timeout, BatchPartitionFetchListener listener)
com.google.common.collect.Table<String,Short,FetchMessageData> batchFetchPartitions(BrokerNode brokerNode, com.google.common.collect.Table<String,Short,Long> partitions, String app, int count, long timeout)
void batchFetchPartitionsAsync(BrokerNode brokerNode, com.google.common.collect.Table<String,Short,Long> partitions, String app, int count, long timeout, BatchPartitionFetchListener listener)
Copyright © 2020 Joyqueue Community. All rights reserved.