Class AbstractHealthChecker
- java.lang.Object
-
- com.alibaba.nacos.api.naming.pojo.AbstractHealthChecker
-
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
AbstractHealthChecker.Http,AbstractHealthChecker.Mysql,AbstractHealthChecker.None,AbstractHealthChecker.Tcp
public abstract class AbstractHealthChecker extends Object implements Cloneable
- Author:
- nkorange
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractHealthChecker.Httpstatic classAbstractHealthChecker.Mysqlstatic classAbstractHealthChecker.Nonestatic classAbstractHealthChecker.Tcp
-
Constructor Summary
Constructors Constructor Description AbstractHealthChecker()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract AbstractHealthCheckerclone()Clone all fields of this instance to another oneStringgetType()voidsetType(String type)
-
-
-
Field Detail
-
type
protected String type
-
-
Method Detail
-
getType
public String getType()
-
setType
public void setType(String type)
-
clone
public abstract AbstractHealthChecker clone() throws CloneNotSupportedException
Clone all fields of this instance to another one- Overrides:
clonein classObject- Returns:
- Another instance with exactly the same fields.
- Throws:
CloneNotSupportedException
-
-