程序包 com.cnosdb.dto

类 Pong

java.lang.Object
com.cnosdb.dto.Pong

public class Pong extends Object
Representation of the response for a cnosdb ping.
作者:
stefan.majer [at] gmail.com
  • 构造器详细资料

    • Pong

      public Pong()
  • 方法详细资料

    • getVersion

      public String getVersion()
      返回:
      the status
    • setVersion

      public void setVersion(String version)
      参数:
      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

      public String toString()
      覆盖:
      toString 在类中 Object