Class ZookeeperConfParamOps
- java.lang.Object
-
- org.apache.syncope.common.keymaster.client.zookeeper.ZookeeperConfParamOps
-
- All Implemented Interfaces:
ConfParamOps
public class ZookeeperConfParamOps extends Object implements ConfParamOps
ImplementsConfParamOps
via Apache Curator / Zookeeper.
-
-
Constructor Summary
Constructors Constructor Description ZookeeperConfParamOps(org.apache.curator.framework.CuratorFramework client)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static String
buildConfPath(String... parts)
<T> T
get(String domain, String key, T defaultValue, Class<T> reference)
Map<String,Object>
list(String domain)
void
remove(String domain, String key)
<T> void
set(String domain, String key, T value)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
MAPPER
protected static final JsonMapper MAPPER
-
CONF_PATH
protected static final String CONF_PATH
- See Also:
- Constant Field Values
-
client
protected final org.apache.curator.framework.CuratorFramework client
-
-
Method Detail
-
get
public <T> T get(String domain, String key, T defaultValue, Class<T> reference)
- Specified by:
get
in interfaceConfParamOps
-
set
public <T> void set(String domain, String key, T value)
- Specified by:
set
in interfaceConfParamOps
-
remove
public void remove(String domain, String key)
- Specified by:
remove
in interfaceConfParamOps
-
-