Package io.camunda.client.api.response
Interface StatusResponse
- All Known Implementing Classes:
StatusResponseImpl
public interface StatusResponse
Response for cluster status request. The status endpoint returns 204 (No Content) when healthy
and 503 (Service Unavailable) when unhealthy. The response body is always empty.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getStatus
StatusResponse.Status getStatus()- Returns:
StatusResponse.Status.UPif the cluster is healthy (has at least one partition with a healthy leader),StatusResponse.Status.DOWNotherwise
-