@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) |
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() |
String |
sdk() |
String |
toString() |
public DiagnosticsReport(List<EndpointHealth> endpoints, String sdk, String id)
public String id()
public String sdk()
public List<EndpointHealth> endpoints()
public List<EndpointHealth> endpoints(ServiceType type)
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.