@InterfaceAudience.Public @InterfaceStability.Experimental public class PingReport extends Object
Contains a report for all the internal service health states.
Constructor and Description |
---|
PingReport(List<PingServiceHealth> services,
String sdk,
String id,
long configRev) |
Modifier and Type | Method and Description |
---|---|
long |
configRev() |
String |
exportToJson()
Exports this report into the RFC JSON format.
|
String |
exportToJson(boolean pretty)
Exports this report into the RFC JSON format.
|
String |
id() |
String |
sdk() |
List<PingServiceHealth> |
services() |
String |
toString() |
int |
version() |
public PingReport(List<PingServiceHealth> services, String sdk, String id, long configRev)
public List<PingServiceHealth> services()
public String exportToJson()
Exports this report into the RFC JSON format.
public String exportToJson(boolean pretty)
Exports this report into the RFC JSON format.
public String sdk()
public String id()
public int version()
public long configRev()
Copyright © 2018 Couchbase, Inc.. All rights reserved.