Class NotifyTaskProcessor
- java.lang.Object
-
- com.alibaba.nacos.config.server.service.notify.NotifyTaskProcessor
-
- All Implemented Interfaces:
TaskProcessor
public class NotifyTaskProcessor extends Object implements TaskProcessor
通知服务。数据库变更后,通知所有server,包括自己,加载新数据。- Author:
- Nacos
-
-
Constructor Summary
Constructors Constructor Description NotifyTaskProcessor(ServerListService serverListService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanprocess(String taskType, AbstractTask task)process task
-
-
-
Constructor Detail
-
NotifyTaskProcessor
public NotifyTaskProcessor(ServerListService serverListService)
-
-
Method Detail
-
process
public boolean process(String taskType, AbstractTask task)
Description copied from interface:TaskProcessorprocess task- Specified by:
processin interfaceTaskProcessor- Parameters:
taskType- task typetask- task- Returns:
- process task result
-
-