public class UdpHealthChecker extends Object implements HealthChecker, PluginConfigProvider
DEFAULT_TIMEOUT_MILLI| Constructor and Description |
|---|
UdpHealthChecker() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
DetectResult |
detectInstance(Instance instance,
com.tencent.polaris.specification.api.v1.fault.tolerance.FaultDetectorProto.FaultDetectRule faultDetectRule) |
String |
getName() |
Class<? extends Verifier> |
getPluginConfigClazz() |
PluginType |
getType() |
void |
init(InitContext ctx) |
void |
postContextInit(Extensions extensions) |
public DetectResult detectInstance(Instance instance, com.tencent.polaris.specification.api.v1.fault.tolerance.FaultDetectorProto.FaultDetectRule faultDetectRule) throws PolarisException
detectInstance in interface HealthCheckerPolarisExceptionpublic Class<? extends Verifier> getPluginConfigClazz()
getPluginConfigClazz in interface PluginConfigProviderpublic String getName()
getName in interface PluginConfigProvidergetName in interface Pluginpublic PluginType getType()
public void init(InitContext ctx) throws PolarisException
init in interface PluginPolarisExceptionpublic void postContextInit(Extensions extensions) throws PolarisException
postContextInit in interface PluginPolarisExceptionCopyright © 2023. All rights reserved.