接口 NamingPushCallback

  • 所有超级接口:
    com.alibaba.nacos.api.remote.PushCallBack
    所有已知实现类:
    PushExecuteTask.ServicePushCallback

    public interface NamingPushCallback
    extends com.alibaba.nacos.api.remote.PushCallBack
    Push callback for Naming.
    作者:
    xiweng.yy
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      void setActualServiceInfo​(com.alibaba.nacos.api.naming.pojo.ServiceInfo serviceInfo)
      Set actual pushed service info, the host list of service info may be changed by selector.
      • 从接口继承的方法 com.alibaba.nacos.api.remote.PushCallBack

        getTimeout, onFail, onSuccess
    • 方法详细资料

      • setActualServiceInfo

        void setActualServiceInfo​(com.alibaba.nacos.api.naming.pojo.ServiceInfo serviceInfo)
        Set actual pushed service info, the host list of service info may be changed by selector. Detail see implement of PushExecutor.
        参数:
        serviceInfo - actual pushed service info