com.ecwid.consul.v1.kv.KeyValueClient 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)
The newest version!
package com.ecwid.consul.v1.kv;
import com.ecwid.consul.v1.QueryParams;
import com.ecwid.consul.v1.Response;
import com.ecwid.consul.v1.kv.model.GetBinaryValue;
import com.ecwid.consul.v1.kv.model.GetValue;
import com.ecwid.consul.v1.kv.model.PutParams;
import java.util.List;
/**
* @author Vasily Vasilkov ([email protected])
*/
public interface KeyValueClient {
public Response getKVValue(String key);
public Response getKVValue(String key, String token);
public Response getKVValue(String key, QueryParams queryParams);
public Response getKVValue(String key, String token, QueryParams queryParams);
public Response getKVBinaryValue(String key);
public Response getKVBinaryValue(String key, String token);
public Response getKVBinaryValue(String key, QueryParams queryParams);
public Response getKVBinaryValue(String key, String token, QueryParams queryParams);
public Response> getKVValues(String keyPrefix);
public Response> getKVValues(String keyPrefix, String token);
public Response> getKVValues(String keyPrefix, QueryParams queryParams);
public Response> getKVValues(String keyPrefix, String token, QueryParams queryParams);
public Response> getKVBinaryValues(String keyPrefix);
public Response> getKVBinaryValues(String keyPrefix, String token);
public Response> getKVBinaryValues(String keyPrefix, QueryParams queryParams);
public Response> getKVBinaryValues(String keyPrefix, String token, QueryParams queryParams);
public Response> getKVKeysOnly(String keyPrefix);
public Response> getKVKeysOnly(String keyPrefix, String separator, String token);
public Response> getKVKeysOnly(String keyPrefix, QueryParams queryParams);
public Response> getKVKeysOnly(String keyPrefix, String separator, String token, QueryParams queryParams);
public Response setKVValue(String key, String value);
public Response setKVValue(String key, String value, PutParams putParams);
public Response setKVValue(String key, String value, String token, PutParams putParams);
public Response setKVValue(String key, String value, QueryParams queryParams);
public Response setKVValue(String key, String value, PutParams putParams, QueryParams queryParams);
public Response setKVValue(String key, String value, String token, PutParams putParams, QueryParams queryParams);
public Response setKVBinaryValue(String key, byte[] value);
public Response setKVBinaryValue(String key, byte[] value, PutParams putParams);
public Response setKVBinaryValue(String key, byte[] value, String token, PutParams putParams);
public Response setKVBinaryValue(String key, byte[] value, QueryParams queryParams);
public Response setKVBinaryValue(String key, byte[] value, PutParams putParams, QueryParams queryParams);
public Response setKVBinaryValue(String key, byte[] value, String token, PutParams putParams, QueryParams queryParams);
public Response deleteKVValue(String key);
public Response deleteKVValue(String key, String token);
public Response deleteKVValue(String key, QueryParams queryParams);
public Response deleteKVValue(String key, String token, QueryParams queryParams);
public Response deleteKVValues(String key);
public Response deleteKVValues(String key, String token);
public Response deleteKVValues(String key, QueryParams queryParams);
public Response deleteKVValues(String key, String token, QueryParams queryParams);
}