类的使用
com.alibaba.nacos.naming.push.v2.hook.PushResult
-
使用PushResult的程序包 程序包 说明 com.alibaba.nacos.naming.push.v2.hook com.alibaba.nacos.naming.push.v2.task -
-
com.alibaba.nacos.naming.push.v2.hook中PushResult的使用
返回PushResult的com.alibaba.nacos.naming.push.v2.hook中的方法 修饰符和类型 方法 说明 static PushResultPushResult. pushFailed(Service service, java.lang.String subscribeClientId, com.alibaba.nacos.api.naming.pojo.ServiceInfo data, Subscriber subscriber, long allCost, java.lang.Throwable exception, boolean isPushToAll)static PushResultPushResult. pushSuccess(Service service, java.lang.String subscribeClientId, com.alibaba.nacos.api.naming.pojo.ServiceInfo data, Subscriber subscriber, long networkCost, long allCost, long sla, boolean isPushToAll)参数类型为PushResult的com.alibaba.nacos.naming.push.v2.hook中的方法 修饰符和类型 方法 说明 voidNacosMonitorPushResultHook. pushFailed(PushResult result)voidPushResultHook. pushFailed(PushResult result)Push failed.voidPushResultHookHolder. pushFailed(PushResult result)voidNacosMonitorPushResultHook. pushSuccess(PushResult result)voidPushResultHook. pushSuccess(PushResult result)Push success.voidPushResultHookHolder. pushSuccess(PushResult result) -
com.alibaba.nacos.naming.push.v2.task中PushResult的使用
参数类型为PushResult的com.alibaba.nacos.naming.push.v2.task中的方法 修饰符和类型 方法 说明 private com.alibaba.nacos.common.trace.event.naming.PushServiceTraceEventPushExecuteTask.ServicePushCallback. getPushServiceTraceEvent(long eventTime, PushResult result)
-