public class ZkClientZookeeperClient extends AbstractZookeeperClient<org.I0Itec.zkclient.IZkChildListener>
Modifier and Type | Field and Description |
---|---|
static int |
connectionTimeout |
Constructor and Description |
---|
ZkClientZookeeperClient(String address) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
addTargetChildListener(String path,
org.I0Itec.zkclient.IZkChildListener iZkChildListener) |
protected String |
createEphemeral(String path,
boolean sequential) |
protected String |
createEphemeral(String path,
Object data,
boolean sequential) |
protected String |
createPersistent(String path,
boolean sequential) |
protected String |
createPersistent(String path,
Object data,
boolean sequential) |
protected org.I0Itec.zkclient.IZkChildListener |
createTargetChildListener(String path,
ChildListener listener) |
void |
delete(String path) |
protected void |
doClose() |
boolean |
exists(String path) |
List<String> |
getChildren(String path) |
<T> T |
getData(String path) |
boolean |
isConnected() |
protected void |
removeTargetChildListener(String path,
org.I0Itec.zkclient.IZkChildListener iZkChildListener) |
addChildListener, addStateListener, close, create, create, getSessionListeners, removeChildListener, removeStateListener, stateChanged
public static final int connectionTimeout
public ZkClientZookeeperClient(String address)
protected String createPersistent(String path, boolean sequential)
createPersistent
in class AbstractZookeeperClient<org.I0Itec.zkclient.IZkChildListener>
protected String createPersistent(String path, Object data, boolean sequential)
createPersistent
in class AbstractZookeeperClient<org.I0Itec.zkclient.IZkChildListener>
protected String createEphemeral(String path, boolean sequential)
createEphemeral
in class AbstractZookeeperClient<org.I0Itec.zkclient.IZkChildListener>
protected String createEphemeral(String path, Object data, boolean sequential)
createEphemeral
in class AbstractZookeeperClient<org.I0Itec.zkclient.IZkChildListener>
protected org.I0Itec.zkclient.IZkChildListener createTargetChildListener(String path, ChildListener listener)
createTargetChildListener
in class AbstractZookeeperClient<org.I0Itec.zkclient.IZkChildListener>
protected List<String> addTargetChildListener(String path, org.I0Itec.zkclient.IZkChildListener iZkChildListener)
addTargetChildListener
in class AbstractZookeeperClient<org.I0Itec.zkclient.IZkChildListener>
protected void removeTargetChildListener(String path, org.I0Itec.zkclient.IZkChildListener iZkChildListener)
removeTargetChildListener
in class AbstractZookeeperClient<org.I0Itec.zkclient.IZkChildListener>
public void delete(String path)
public boolean exists(String path)
public <T> T getData(String path)
public boolean isConnected()
protected void doClose()
doClose
in class AbstractZookeeperClient<org.I0Itec.zkclient.IZkChildListener>
Copyright © 2014. All Rights Reserved.