@Service public class AsyncNotifyService extends EventDispatcher.AbstractEventListener
| Constructor and Description |
|---|
AsyncNotifyService(ServerListService serverListService) |
| Modifier and Type | Method and Description |
|---|---|
Executor |
getExecutor() |
List<Class<? extends EventDispatcher.Event>> |
interest()
感兴趣的事件列表
|
void |
onEvent(EventDispatcher.Event event)
处理事件
|
@Autowired public AsyncNotifyService(ServerListService serverListService)
public List<Class<? extends EventDispatcher.Event>> interest()
EventDispatcher.AbstractEventListenerinterest in class EventDispatcher.AbstractEventListenerpublic void onEvent(EventDispatcher.Event event)
EventDispatcher.AbstractEventListeneronEvent in class EventDispatcher.AbstractEventListenerevent - eventpublic Executor getExecutor()
Copyright © 2018–2019 Alibaba Group. All rights reserved.