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

com.ecwid.consul.v1.event.EventClient Maven / Gradle / Ivy

package com.ecwid.consul.v1.event;

import com.ecwid.consul.v1.QueryParams;
import com.ecwid.consul.v1.Response;
import com.ecwid.consul.v1.event.model.Event;
import com.ecwid.consul.v1.event.model.EventParams;

import java.util.List;

/**
 * @author Vasily Vasilkov ([email protected])
 */
public interface EventClient {

	public Response eventFire(String event, String payload, EventParams eventParams, QueryParams queryParams);

	// -------------------------------------------------------------------------------

	/**
	 * @deprecated This method will be removed in consul-api 2.0. Use {@link #eventList(EventListRequest eventListRequest)}
	 */
	@Deprecated
	public Response> eventList(QueryParams queryParams);

	/**
	 * @deprecated This method will be removed in consul-api 2.0. Use {@link #eventList(EventListRequest eventListRequest)}
	 */
	@Deprecated
	public Response> eventList(String event, QueryParams queryParams);

	public Response> eventList(EventListRequest eventListRequest);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy