ping

suspend fun ping(common: CommonOptions = CommonOptions.Default, services: Set<ServiceType> = emptySet(), reportId: String = UUID.randomUUID().toString()): PingResult

Pings the Couchbase cluster's global services. (To ping bucket-level services like KV as well, use Bucket.ping instead.)

This operation performs I/O against services and endpoints to assess their health. If you do not wish to perform I/O, consider using diagnostics instead.

Parameters

services

The services to ping, or an empty set to ping all services (the default).

reportId

An arbitrary ID to assign to the report.