Class PingReport
- java.lang.Object
-
- com.couchbase.client.core.message.internal.PingReport
-
@Public @Experimental public class PingReport extends Object
Contains a report for all the internal service health states.- Since:
- 1.5.4
- Author:
- Michael Nitschinger
-
-
Constructor Summary
Constructors Constructor Description PingReport(List<PingServiceHealth> services, String sdk, String id, long configRev)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
PingReport
public PingReport(List<PingServiceHealth> services, String sdk, String id, long configRev)
-
-
Method Detail
-
services
public List<PingServiceHealth> services()
-
exportToJson
public String exportToJson()
Exports this report into the RFC JSON format.- Returns:
- the as JSON encoded report.
-
exportToJson
public String exportToJson(boolean pretty)
Exports this report into the RFC JSON format.- Returns:
- the as JSON encoded report.
-
sdk
public String sdk()
-
id
public String id()
-
version
public int version()
-
configRev
public long configRev()
-
-