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);
}