|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnsembleProvider
Abstraction that provides the ZooKeeper connection string
Method Summary | |
---|---|
void |
close()
Curator will call this method when CuratorZookeeperClient.close() is called |
String |
getConnectionString()
Return the current connection string to use. |
void |
start()
Curator will call this method when CuratorZookeeperClient.start() is
called |
Method Detail |
---|
void start() throws Exception
CuratorZookeeperClient.start()
is
called
Exception
- errorsString getConnectionString()
ZooKeeper.ZooKeeper(String, int, Watcher)
etc.)void close() throws IOException
CuratorZookeeperClient.close()
is called
close
in interface Closeable
IOException
- errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |