public interface MinimalEtcdClient
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String key,
boolean recursive) |
boolean |
exists(String key) |
String |
get(String key)
Retrieve the value of the given key, if set.
|
URI |
getEtcdUri() |
List<String> |
list(String key) |
void |
set(String key,
String value)
Set a value under the given key.
|
String get(String key) throws EtcdException
key - Key to look upEtcdException - in case of an error (e.g. key doesn't exist)void set(String key, String value) throws EtcdException
key - value - EtcdExceptionvoid delete(String key, boolean recursive) throws EtcdException
EtcdExceptionList<String> list(String key) throws EtcdException
EtcdExceptionURI getEtcdUri()
boolean exists(String key) throws EtcdException
EtcdExceptionCopyright © 2017 LeanIX GmbH. All rights reserved.