@InterfaceAudience.Public @InterfaceStability.Experimental public class DiagnosticsReport extends Object
Aggregates the health of all Endpoint
s.
Constructor and Description |
---|
DiagnosticsReport(List<EndpointHealth> endpoints,
String sdk,
String id,
RingBufferDiagnostics ringBufferDiagnostics) |
Modifier and Type | Method and Description |
---|---|
List<EndpointHealth> |
endpoints() |
List<EndpointHealth> |
endpoints(ServiceType type) |
String |
exportToJson()
Exports this report into the standard JSON format which is consistent across different language SDKs.
|
String |
exportToJson(boolean pretty)
Exports this report into the standard JSON format which is consistent across different language SDKs.
|
String |
id() |
RingBufferDiagnostics |
ringBufferDiagnostics()
Returns a breakdown of the requests in the internal ringbuffer.
|
String |
sdk() |
String |
toString() |
public DiagnosticsReport(List<EndpointHealth> endpoints, String sdk, String id, RingBufferDiagnostics ringBufferDiagnostics)
public String id()
public String sdk()
public List<EndpointHealth> endpoints()
public List<EndpointHealth> endpoints(ServiceType type)
public RingBufferDiagnostics ringBufferDiagnostics()
Returns a breakdown of the requests in the internal ringbuffer.
public String exportToJson()
Exports this report into the standard JSON format which is consistent across different language SDKs.
public String exportToJson(boolean pretty)
Exports this report into the standard JSON format which is consistent across different language SDKs.
Copyright © 2018 Couchbase, Inc.. All rights reserved.