Class EndpointPingReport

java.lang.Object
com.couchbase.client.core.diagnostics.EndpointPingReport

public class EndpointPingReport extends Object
  • Constructor Details Link icon

  • Method Details Link icon

    • type Link icon

      public ServiceType type()
      The service type for this endpoint.
    • id Link icon

      public String id()
      The ID for this endpoint.
    • local Link icon

      public String local()
      The local socket address for this endpoint.
    • remote Link icon

      public String remote()
      The remote socket address for this endpoint.
    • state Link icon

      public PingState state()
      The state of this ping when assembling the report.
    • latency Link icon

      public Duration latency()
      The latency of this ping.
    • error Link icon

      public Optional<String> error()
      The reason this ping did not succeed.
    • namespace Link icon

      public Optional<String> namespace()
      The namespace of this endpoint (likely the bucket name if present).
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • equals Link icon

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object