com.alibaba.rocketmq.store.schedule
类 ScheduleMessageService
java.lang.Object
com.alibaba.rocketmq.common.ConfigManager
com.alibaba.rocketmq.store.schedule.ScheduleMessageService
public class ScheduleMessageService
- extends ConfigManager
定时消息服务
- 从以下版本开始:
- 2013-7-21
- 作者:
- shijia.wxr
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCHEDULE_TOPIC
public static final String SCHEDULE_TOPIC
- 另请参见:
- 常量字段值
ScheduleMessageService
public ScheduleMessageService(DefaultMessageStore defaultMessageStore)
buildRunningStats
public void buildRunningStats(HashMap<String,String> stats)
queueId2DelayLevel
public static int queueId2DelayLevel(int queueId)
delayLevel2QueueId
public static int delayLevel2QueueId(int delayLevel)
computeDeliverTimestamp
public long computeDeliverTimestamp(int delayLevel,
long storeTimestamp)
start
public void start()
shutdown
public void shutdown()
getMaxDelayLevel
public int getMaxDelayLevel()
encode
public String encode()
- 指定者:
- 类
ConfigManager 中的 encode
encode
public String encode(boolean prettyFormat)
- 指定者:
- 类
ConfigManager 中的 encode
decode
public void decode(String jsonString)
- 指定者:
- 类
ConfigManager 中的 decode
configFilePath
public String configFilePath()
- 指定者:
- 类
ConfigManager 中的 configFilePath
load
public boolean load()
- 覆盖:
- 类
ConfigManager 中的 load
parseDelayLevel
public boolean parseDelayLevel()
Copyright © 2012–2015. All rights reserved.