public class NullNotificationService extends AbstractNotificationService
| 构造器和说明 |
|---|
NullNotificationService(String appId,
String namespace) |
| 限定符和类型 | 方法和说明 |
|---|---|
CustomNotification |
buildCustomNotification(String content) |
ExecutorShutdownNotification |
buildExecutorShutdownNotification(String poolName,
long completedTaskCount,
long executingTaskCount,
long toExecuteTaskCount) |
ExecutorTaskNotification |
buildExecutorTaskNotification(TaskProperty taskProperty) |
ExecutorTickerNotification |
buildExecutorTickerNotification(JediThreadPoolExecutor executor) |
void |
pushNotification(AbstractNotification notification) |
void |
send(Object notification,
MessageType messageType) |
public void pushNotification(AbstractNotification notification)
public void send(Object notification, MessageType messageType)
send 在类中 AbstractNotificationServicepublic ExecutorTickerNotification buildExecutorTickerNotification(JediThreadPoolExecutor executor)
public ExecutorTaskNotification buildExecutorTaskNotification(TaskProperty taskProperty)
public ExecutorShutdownNotification buildExecutorShutdownNotification(String poolName, long completedTaskCount, long executingTaskCount, long toExecuteTaskCount)
public CustomNotification buildCustomNotification(String content)
Copyright © 2022 hellothomas. All rights reserved.