public class EtcdData extends Object
| Modifier and Type | Method and Description |
|---|---|
static EtcdData |
create(Class<?> clazz) |
boolean |
delete(String path) |
static boolean |
enabled()
Whether Etcd Enabled.
|
String |
getApplication() |
mousio.etcd4j.EtcdClient |
getClient() |
io.vertx.core.json.JsonArray |
getConfig() |
String |
read(String path) |
String |
readData(String path) |
ConcurrentMap<String,String> |
readDir(String path,
boolean shiftted) |
<T> io.vertx.core.json.JsonObject |
write(String path,
T data,
int ttl) |
public static boolean enabled()
public mousio.etcd4j.EtcdClient getClient()
public io.vertx.core.json.JsonArray getConfig()
public String getApplication()
public ConcurrentMap<String,String> readDir(String path, boolean shiftted)
public boolean delete(String path)
public <T> io.vertx.core.json.JsonObject write(String path, T data, int ttl)
Copyright © 2020. All rights reserved.