类 AsyncPushManager
java.lang.Object
com.walker.push.AbstractPushManager
com.walker.push.support.AsyncPushManager
- 所有已实现的接口:
PushManager
异步任务执行的推送管理器实现。
这些主要是针对推送者为'同步模式'的情况。
- 作者:
- 时克英
-
字段概要
从类继承的字段 com.walker.push.AbstractPushManager
logger -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected PushResultpushOnce(List<Pushable> pushableList, Notification notification) 一次完整推送调用,默认同步实现,子类可以使用异步方式。voidsetThreadPoolTaskExecutor(org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor) 从类继承的方法 com.walker.push.AbstractPushManager
addStrategy, getAsyncListener, getMessageChannelNames, getPushList, getPushList, getPushObject, invokePush, isMessageParallel, persistent, persistentFailed, push, push, register, setAsyncListener, setMessageChannelNames, setMessageParallel从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.walker.push.PushManager
pushSms
-
构造器详细资料
-
AsyncPushManager
public AsyncPushManager()
-
-
方法详细资料
-
pushOnce
protected PushResult pushOnce(List<Pushable> pushableList, Notification notification) throws PushException 从类复制的说明:AbstractPushManager一次完整推送调用,默认同步实现,子类可以使用异步方式。- 覆盖:
pushOnce在类中AbstractPushManager- 返回:
- 抛出:
PushException
-
setThreadPoolTaskExecutor
public void setThreadPoolTaskExecutor(org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor)
-