程序包 com.cnosdb.dto
类 Pong
java.lang.Object
com.cnosdb.dto.Pong
Representation of the response for a cnosdb ping.
- 作者:
- stefan.majer [at] gmail.com
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明longbooleanisGood()Good or bad connection status.voidsetResponseTime(long responseTime) voidsetVersion(String version) toString()
-
构造器详细资料
-
Pong
public Pong()
-
-
方法详细资料
-
getVersion
- 返回:
- the status
-
setVersion
- 参数:
version- the status to set
-
isGood
public boolean isGood()Good or bad connection status.- 返回:
- true if the version of cnosdb is not unknown.
-
getResponseTime
public long getResponseTime()- 返回:
- the responseTime
-
setResponseTime
public void setResponseTime(long responseTime) - 参数:
responseTime- the responseTime to set
-
toString
-