public class PullMessageService extends ServiceThread
hasNotified, stoped, thread| 构造器和说明 |
|---|
PullMessageService(MQClientFactory mQClientFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
executePullRequestImmediately(PullRequest pullRequest)
立刻执行PullRequest
|
void |
executePullRequestLater(PullRequest pullRequest,
long timeDelay)
只定时一次
|
ScheduledExecutorService |
getScheduledExecutorService() |
String |
getServiceName() |
void |
run() |
getJointime, isStoped, makeStop, onWaitEnd, shutdown, shutdown, start, stop, stop, waitForRunning, wakeuppublic PullMessageService(MQClientFactory mQClientFactory)
public void executePullRequestLater(PullRequest pullRequest, long timeDelay)
public void executePullRequestImmediately(PullRequest pullRequest)
public void run()
public String getServiceName()
getServiceName 在类中 ServiceThreadpublic ScheduledExecutorService getScheduledExecutorService()
Copyright © 2012–2013. All rights reserved.