com.ecwid.consul.v1.health.HealthClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of consul-api Show documentation
Show all versions of consul-api Show documentation
Java client for Consul HTTP API (http://consul.io)
package com.ecwid.consul.v1.health;
import com.ecwid.consul.v1.QueryParams;
import com.ecwid.consul.v1.Response;
import com.ecwid.consul.v1.health.model.Check;
import java.util.List;
/**
* @author Vasily Vasilkov ([email protected])
*/
public interface HealthClient {
public Response> getHealthChecksForNode(String nodeName, QueryParams queryParams);
public Response> getHealthChecksForService(String serviceName, QueryParams queryParams);
public Response> getHealthServices(String serviceName, boolean onlyPassing, QueryParams queryParams);
public Response> getHealthServices(String serviceName, String tag, boolean onlyPassing, QueryParams queryParams);
public Response> getHealthServices(String serviceName, boolean onlyPassing, QueryParams queryParams, String token);
public Response> getHealthServices(String serviceName, String tag, boolean onlyPassing, QueryParams queryParams, String token);
public Response> getHealthChecksState(QueryParams queryParams);
public Response> getHealthChecksState(Check.CheckStatus checkStatus, QueryParams queryParams);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy