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
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 Details
-
PingReport
-
-
Method Details
-
services
-
exportToJson
Exports this report into the RFC JSON format.- Returns:
- the as JSON encoded report.
-
exportToJson
Exports this report into the RFC JSON format.- Returns:
- the as JSON encoded report.
-
sdk
-
id
-
version
public int version() -
configRev
public long configRev() -
toString
-