public class ZkQuickConnectionManager extends Object
| Constructor and Description |
|---|
ZkQuickConnectionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect(String server,
int sessionTimeout) |
void |
connect(String server,
int sessionTimeout,
int connTimeout) |
ZooKeeperIface |
getZk() |
public void connect(String server, int sessionTimeout) throws IOException, InterruptedException, TimeoutException
public void connect(String server, int sessionTimeout, int connTimeout) throws IOException, InterruptedException, TimeoutException
public void close()
throws InterruptedException
InterruptedExceptionpublic ZooKeeperIface getZk()
Copyright © 2012–2015 Facebook, Inc.. All rights reserved.