public class EndpointPingReport extends Object
Constructor and Description |
---|
EndpointPingReport(ServiceType type,
String id,
String local,
String remote,
PingState state,
Optional<String> namespace,
Duration latency,
Optional<String> error) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Optional<String> |
error()
The reason this ping did not succeed.
|
int |
hashCode() |
String |
id()
The ID for this endpoint.
|
Duration |
latency()
The latency of this ping.
|
String |
local()
The local socket address for this endpoint.
|
Optional<String> |
namespace()
The namespace of this endpoint (likely the bucket name if present).
|
String |
remote()
The remote socket address for this endpoint.
|
PingState |
state()
The state of this ping when assembling the report.
|
String |
toString() |
ServiceType |
type()
The service type for this endpoint.
|
public ServiceType type()
public String id()
public String local()
public String remote()
public PingState state()
public Duration latency()
public Optional<String> namespace()
Copyright © 2020 Couchbase, Inc.. All rights reserved.