org.apache.accumulo.core.zookeeper
Class ZooSession
java.lang.Object
org.apache.accumulo.core.zookeeper.ZooSession
public class ZooSession
- extends java.lang.Object
Method Summary |
static org.apache.zookeeper.ZooKeeper |
connect(java.lang.String host,
int timeout,
org.apache.zookeeper.Watcher watcher)
|
static org.apache.zookeeper.ZooKeeper |
getSession()
|
static org.apache.zookeeper.ZooKeeper |
getSession(java.lang.String zooKeepers,
int timeout)
|
static org.apache.zookeeper.ZooKeeper |
getSession(org.apache.zookeeper.Watcher w)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZooSession
public ZooSession()
connect
public static org.apache.zookeeper.ZooKeeper connect(java.lang.String host,
int timeout,
org.apache.zookeeper.Watcher watcher)
getSession
public static org.apache.zookeeper.ZooKeeper getSession(java.lang.String zooKeepers,
int timeout)
getSession
public static org.apache.zookeeper.ZooKeeper getSession()
getSession
public static org.apache.zookeeper.ZooKeeper getSession(org.apache.zookeeper.Watcher w)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.