public class LocalConsumerIndexManager extends Service implements ConsumerIndexManager
Service.Election, Service.ElectionListenerActivity.ServiceState| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
LocalConsumerIndexManager(ConsumerConfig config,
ConsumerIndexManager delegate) |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,org.joyqueue.exception.JoyQueueCode> |
batchCommitReply(Map<String,List<ConsumeReply>> replyMap,
String app,
long timeout) |
com.google.common.collect.Table<String,Short,FetchIndexData> |
batchFetchIndex(Map<String,List<Short>> topicMap,
String app,
long timeout) |
org.joyqueue.exception.JoyQueueCode |
commitReply(String topic,
List<ConsumeReply> replyList,
String app,
long timeout) |
protected void |
doStart() |
protected void |
doStop() |
FetchIndexData |
fetchIndex(String topic,
String app,
short partition,
long timeout) |
protected boolean |
isExpired(LocalIndexData localIndexData) |
org.joyqueue.exception.JoyQueueCode |
resetIndex(String topic,
String app,
short partition,
long timeout) |
protected void |
validate() |
getServiceState, isReady, isStarted, isStopped, start, stop, stop, willStopafterStart, afterStop, await, beforeStart, beforeStop, convert, getReadLock, getWriteLock, startErrorpublic LocalConsumerIndexManager(ConsumerConfig config, ConsumerIndexManager delegate)
public org.joyqueue.exception.JoyQueueCode resetIndex(String topic, String app, short partition, long timeout)
resetIndex 在接口中 ConsumerIndexManagerpublic FetchIndexData fetchIndex(String topic, String app, short partition, long timeout)
fetchIndex 在接口中 ConsumerIndexManagerpublic org.joyqueue.exception.JoyQueueCode commitReply(String topic, List<ConsumeReply> replyList, String app, long timeout)
commitReply 在接口中 ConsumerIndexManagerpublic com.google.common.collect.Table<String,Short,FetchIndexData> batchFetchIndex(Map<String,List<Short>> topicMap, String app, long timeout)
batchFetchIndex 在接口中 ConsumerIndexManagerpublic Map<String,org.joyqueue.exception.JoyQueueCode> batchCommitReply(Map<String,List<ConsumeReply>> replyMap, String app, long timeout)
batchCommitReply 在接口中 ConsumerIndexManagerprotected boolean isExpired(LocalIndexData localIndexData)
Copyright © 2020 Joyqueue Community. All rights reserved.