类 UdpHealthChecker
java.lang.Object
com.tencent.polaris.plugins.outlier.detector.udp.UdpHealthChecker
- 所有已实现的接口:
PluginConfigProvider,HealthChecker,Plugin
public class UdpHealthChecker extends java.lang.Object implements HealthChecker, PluginConfigProvider
UdpOutlierDetector.java
- 作者:
- andrewshan
- Date:
- 2019/9/19
-
字段概要
从接口继承的字段 com.tencent.polaris.api.plugin.detect.HealthChecker
DEFAULT_TIMEOUT_MILLI -
构造器概要
构造器 构造器 说明 UdpHealthChecker() -
方法概要
修饰符和类型 方法 说明 voiddestroy()DetectResultdetectInstance(Instance instance, com.tencent.polaris.specification.api.v1.fault.tolerance.FaultDetectorProto.FaultDetectRule faultDetectRule)java.lang.StringgetName()java.lang.Class<? extends Verifier>getPluginConfigClazz()PluginTypegetType()voidinit(InitContext ctx)voidpostContextInit(Extensions extensions)从类继承的方法 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
UdpHealthChecker
public UdpHealthChecker()
-
-
方法详细资料
-
detectInstance
public DetectResult detectInstance(Instance instance, com.tencent.polaris.specification.api.v1.fault.tolerance.FaultDetectorProto.FaultDetectRule faultDetectRule) throws PolarisException- 指定者:
detectInstance在接口中HealthChecker- 抛出:
PolarisException
-
getPluginConfigClazz
- 指定者:
getPluginConfigClazz在接口中PluginConfigProvider
-
getName
public java.lang.String getName()- 指定者:
getName在接口中Plugin- 指定者:
getName在接口中PluginConfigProvider
-
getType
-
init
- 指定者:
init在接口中Plugin- 抛出:
PolarisException
-
postContextInit
- 指定者:
postContextInit在接口中Plugin- 抛出:
PolarisException
-
destroy
public void destroy()
-