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(String taskName,
String taskExtraData,
String poolName,
long waitTime,
long executionTime,
Throwable t) |
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(String taskName, String taskExtraData, String poolName, long waitTime, long executionTime, Throwable t)
public ExecutorShutdownNotification buildExecutorShutdownNotification(String poolName, long completedTaskCount, long executingTaskCount, long toExecuteTaskCount)
public CustomNotification buildCustomNotification(String content)
Copyright © 2021 hellothomas. All rights reserved.