All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ecwid.consul.v1.health.HealthClient Maven / Gradle / Ivy

There is a newer version: 1.4.5
Show newest version
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