Class AsyncNotifyService
- java.lang.Object
-
- com.alibaba.nacos.config.server.utils.event.EventDispatcher.AbstractEventListener
-
- com.alibaba.nacos.config.server.service.notify.AsyncNotifyService
-
@Service public class AsyncNotifyService extends EventDispatcher.AbstractEventListener
Async notify service- Author:
- Nacos
-
-
Constructor Summary
Constructors Constructor Description AsyncNotifyService(ServerListService serverListService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutorgetExecutor()List<Class<? extends EventDispatcher.Event>>interest()感兴趣的事件列表voidonEvent(EventDispatcher.Event event)处理事件
-
-
-
Constructor Detail
-
AsyncNotifyService
@Autowired public AsyncNotifyService(ServerListService serverListService)
-
-
Method Detail
-
interest
public List<Class<? extends EventDispatcher.Event>> interest()
Description copied from class:EventDispatcher.AbstractEventListener感兴趣的事件列表- Specified by:
interestin classEventDispatcher.AbstractEventListener- Returns:
- event list
-
onEvent
public void onEvent(EventDispatcher.Event event)
Description copied from class:EventDispatcher.AbstractEventListener处理事件- Specified by:
onEventin classEventDispatcher.AbstractEventListener- Parameters:
event- event
-
getExecutor
public Executor getExecutor()
-
-