Ping APIedit

Executionedit

The ping() method checks if the cluster is up and available to process requests and returns a boolean:

boolean response = client.ping(RequestOptions.DEFAULT);