Class NotifyTaskProcessor

  • All Implemented Interfaces:
    TaskProcessor

    public class NotifyTaskProcessor
    extends Object
    implements TaskProcessor
    通知服务。数据库变更后,通知所有server,包括自己,加载新数据。
    Author:
    Nacos
    • Constructor Detail

      • NotifyTaskProcessor

        public NotifyTaskProcessor​(ServerListService serverListService)
    • Method Detail

      • process

        public boolean process​(String taskType,
                               AbstractTask task)
        Description copied from interface: TaskProcessor
        process task
        Specified by:
        process in interface TaskProcessor
        Parameters:
        taskType - task type
        task - task
        Returns:
        process task result