Class EndpointPingReport

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

public class EndpointPingReport extends Object
  • Constructor Details

  • Method Details

    • type

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

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

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

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

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

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

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

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object