public class MessageFetcherWrapper extends Service implements MessageFetcher
Service.Election, Service.ElectionListenerActivity.ServiceState| 构造器和说明 |
|---|
MessageFetcherWrapper(ConsumerClientManager consumerClientManager,
MessageFetcher delegate) |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
protected void |
doStart() |
protected void |
doStop() |
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) |
getServiceState, isReady, isStarted, isStopped, start, stop, stop, validate, willStopafterStart, afterStop, await, beforeStart, beforeStop, convert, getReadLock, getWriteLock, startErrorpublic MessageFetcherWrapper(ConsumerClientManager consumerClientManager, MessageFetcher delegate)
public FetchMessageData fetch(BrokerNode brokerNode, String topic, String app, int count, long timeout, long ackTimeout, long longPollTimeout)
fetch 在接口中 MessageFetcherpublic void asyncFetch(BrokerNode brokerNode, String topic, String app, int count, long timeout, long ackTimeout, long longPollTimeout, FetchListener listener)
asyncFetch 在接口中 MessageFetcherpublic FetchMessageData fetchPartition(BrokerNode brokerNode, String topic, String app, short partition, int count, long timeout)
fetchPartition 在接口中 MessageFetcherpublic void fetchPartitionAsync(BrokerNode brokerNode, String topic, String app, short partition, int count, long timeout, PartitionFetchListener listener)
fetchPartitionAsync 在接口中 MessageFetcherpublic FetchMessageData fetchPartition(BrokerNode brokerNode, String topic, String app, short partition, long index, int count, long timeout)
fetchPartition 在接口中 MessageFetcherpublic void fetchPartitionAsync(BrokerNode brokerNode, String topic, String app, short partition, long index, int count, long timeout, PartitionFetchListener listener)
fetchPartitionAsync 在接口中 MessageFetcherpublic Map<String,FetchMessageData> batchFetch(BrokerNode brokerNode, List<String> topics, String app, int count, long timeout, long ackTimeout, long longPollTimeout)
batchFetch 在接口中 MessageFetcherpublic void batchFetchAsync(BrokerNode brokerNode, List<String> topics, String app, int count, long timeout, long ackTimeout, long longPollTimeout, BatchFetchListener listener)
batchFetchAsync 在接口中 MessageFetcherpublic com.google.common.collect.Table<String,Short,FetchMessageData> batchFetchPartitions(BrokerNode brokerNode, Map<String,Short> partitions, String app, int count, long timeout)
batchFetchPartitions 在接口中 MessageFetcherpublic void batchFetchPartitionsAsync(BrokerNode brokerNode, Map<String,Short> partitions, String app, int count, long timeout, BatchPartitionFetchListener listener)
batchFetchPartitionsAsync 在接口中 MessageFetcherpublic 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)
batchFetchPartitions 在接口中 MessageFetcherpublic void batchFetchPartitionsAsync(BrokerNode brokerNode, com.google.common.collect.Table<String,Short,Long> partitions, String app, int count, long timeout, BatchPartitionFetchListener listener)
batchFetchPartitionsAsync 在接口中 MessageFetcherCopyright © 2020 Joyqueue Community. All rights reserved.