|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.I0Itec.zkclient.ZkClient
org.apache.s4.comm.topology.ZkClient
public class ZkClient
Overwriting the ZKclient since the org.I0Itec.zkclient.ZkClient does not expose some important methods
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.zookeeper.Watcher |
---|
org.apache.zookeeper.Watcher.Event |
Field Summary |
---|
Fields inherited from class org.I0Itec.zkclient.ZkClient |
---|
_connection |
Constructor Summary | |
---|---|
ZkClient(org.I0Itec.zkclient.IZkConnection connection)
|
|
ZkClient(org.I0Itec.zkclient.IZkConnection connection,
int connectionTimeout)
|
|
ZkClient(org.I0Itec.zkclient.IZkConnection connection,
int connectionTimeout,
org.I0Itec.zkclient.serialize.ZkSerializer zkSerializer)
|
|
ZkClient(java.lang.String serverstring)
|
|
ZkClient(java.lang.String zkServers,
int connectionTimeout)
|
|
ZkClient(java.lang.String zkServers,
int sessionTimeout,
int connectionTimeout)
|
Method Summary | ||
---|---|---|
org.I0Itec.zkclient.IZkConnection |
getConnection()
|
|
long |
getSessionId()
|
|
org.apache.zookeeper.data.Stat |
getStat(java.lang.String path)
|
|
|
readData(java.lang.String path,
boolean returnNullIfPathNotExists)
|
Methods inherited from class org.I0Itec.zkclient.ZkClient |
---|
close, connect, countChildren, create, createEphemeral, createEphemeral, createEphemeralSequential, createPersistent, createPersistent, createPersistent, createPersistentSequential, delete, deleteRecursive, exists, exists, getChildren, getChildren, getCreationTime, getDataListener, getEventLock, getShutdownTrigger, numberOfListeners, process, readData, readData, readData, retryUntilConnected, setCurrentState, setShutdownTrigger, setZkSerializer, showFolders, subscribeChildChanges, subscribeDataChanges, subscribeStateChanges, unsubscribeAll, unsubscribeChildChanges, unsubscribeDataChanges, unsubscribeStateChanges, updateDataSerialized, waitForKeeperState, waitUntilConnected, waitUntilConnected, waitUntilExists, watchForChilds, watchForData, writeData, writeData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZkClient(org.I0Itec.zkclient.IZkConnection connection, int connectionTimeout, org.I0Itec.zkclient.serialize.ZkSerializer zkSerializer)
public ZkClient(org.I0Itec.zkclient.IZkConnection connection, int connectionTimeout)
public ZkClient(org.I0Itec.zkclient.IZkConnection connection)
public ZkClient(java.lang.String zkServers, int sessionTimeout, int connectionTimeout)
public ZkClient(java.lang.String zkServers, int connectionTimeout)
public ZkClient(java.lang.String serverstring)
Method Detail |
---|
public org.I0Itec.zkclient.IZkConnection getConnection()
public long getSessionId()
public org.apache.zookeeper.data.Stat getStat(java.lang.String path)
public <T> T readData(java.lang.String path, boolean returnNullIfPathNotExists)
readData
in class org.I0Itec.zkclient.ZkClient
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |