Class EndpointPingReport
- java.lang.Object
-
- com.couchbase.client.core.diagnostics.EndpointPingReport
-
public class EndpointPingReport extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Optional<String>error()The reason this ping did not succeed.inthashCode()Stringid()The ID for this endpoint.Durationlatency()The latency of this ping.Stringlocal()The local socket address for this endpoint.Optional<String>namespace()The namespace of this endpoint (likely the bucket name if present).Stringremote()The remote socket address for this endpoint.PingStatestate()The state of this ping when assembling the report.StringtoString()ServiceTypetype()The service type for this endpoint.
-
-
-
Method Detail
-
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.
-
namespace
public Optional<String> namespace()
The namespace of this endpoint (likely the bucket name if present).
-
-