public class InstanceBeatCheckTask extends Object implements Interceptable
| 构造器和说明 |
|---|
InstanceBeatCheckTask(com.alibaba.nacos.naming.core.v2.client.impl.IpPortBasedClient client,
com.alibaba.nacos.naming.core.v2.pojo.Service service,
com.alibaba.nacos.naming.core.v2.pojo.HealthCheckInstancePublishInfo instancePublishInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterIntercept()
If one
NacosNamingInterceptor intercept this object, this method will be called. |
com.alibaba.nacos.naming.core.v2.client.impl.IpPortBasedClient |
getClient() |
com.alibaba.nacos.naming.core.v2.pojo.HealthCheckInstancePublishInfo |
getInstancePublishInfo() |
com.alibaba.nacos.naming.core.v2.pojo.Service |
getService() |
void |
passIntercept()
If no
NacosNamingInterceptor intercept this object, this method will be called to execute. |
public InstanceBeatCheckTask(com.alibaba.nacos.naming.core.v2.client.impl.IpPortBasedClient client,
com.alibaba.nacos.naming.core.v2.pojo.Service service,
com.alibaba.nacos.naming.core.v2.pojo.HealthCheckInstancePublishInfo instancePublishInfo)
public void passIntercept()
InterceptableNacosNamingInterceptor intercept this object, this method will be called to execute.passIntercept 在接口中 Interceptablepublic void afterIntercept()
InterceptableNacosNamingInterceptor intercept this object, this method will be called.afterIntercept 在接口中 Interceptablepublic com.alibaba.nacos.naming.core.v2.client.impl.IpPortBasedClient getClient()
public com.alibaba.nacos.naming.core.v2.pojo.Service getService()
public com.alibaba.nacos.naming.core.v2.pojo.HealthCheckInstancePublishInfo getInstancePublishInfo()
Copyright © 2018–2022 Alibaba Group. All rights reserved.