com.twitter.zk.NativeConnector
Obtain a ZooKeeper connection
Obtain a ZooKeeper connection
There must not be concurrent calls to this method and/or release(); this is enforced by NativeConnector.
A ZooKeeper handle that will error if connectTimeout is specified and exceeded.
Publish session events, but intercept Connected events and use them to satisfy the pending connection promise if possible, and add the authentication handle.
Maintains connection and ensures all session events are published. Once a connection is released, it may not be re-opened.
apply() and release() must not be called concurrently. This is enforced by NativeConnector.