Package dev.restate.admin.api
Class ClusterHealthApi
java.lang.Object
dev.restate.admin.api.ClusterHealthApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCluster health Get the cluster health.clusterHealth(Map<String, String> headers) Cluster health Get the cluster health.Cluster health Get the cluster health.clusterHealthWithHttpInfo(Map<String, String> headers) Cluster health Get the cluster health.downloadFileFromResponse(HttpResponse<InputStream> response) Download file from the given response.protected ApiExceptiongetApiException(String operationId, HttpResponse<InputStream> response)
-
Constructor Details
-
ClusterHealthApi
public ClusterHealthApi() -
ClusterHealthApi
-
-
Method Details
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException - Throws:
IOException
-
downloadFileFromResponse
Download file from the given response.- Parameters:
response- Response- Returns:
- File
- Throws:
ApiException- If fail to read file content from response and write to disk
-
clusterHealth
Cluster health Get the cluster health.- Returns:
- ClusterHealthResponse
- Throws:
ApiException- if fails to make API call
-
clusterHealth
Cluster health Get the cluster health.- Parameters:
headers- Optional headers to include in the request- Returns:
- ClusterHealthResponse
- Throws:
ApiException- if fails to make API call
-
clusterHealthWithHttpInfo
Cluster health Get the cluster health.- Returns:
- ApiResponse<ClusterHealthResponse>
- Throws:
ApiException- if fails to make API call
-
clusterHealthWithHttpInfo
public ApiResponse<ClusterHealthResponse> clusterHealthWithHttpInfo(Map<String, String> headers) throws ApiExceptionCluster health Get the cluster health.- Parameters:
headers- Optional headers to include in the request- Returns:
- ApiResponse<ClusterHealthResponse>
- Throws:
ApiException- if fails to make API call
-