|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.curator.ensemble.fixed.FixedEnsembleProvider
public class FixedEnsembleProvider
Standard ensemble provider that wraps a fixed connection string
| Constructor Summary | |
|---|---|
FixedEnsembleProvider(java.lang.String connectionString)
The connection string to use |
|
| Method Summary | |
|---|---|
void |
close()
Curator will call this method when CuratorZookeeperClient.close() is called |
java.lang.String |
getConnectionString()
Return the current connection string to use. |
void |
start()
Curator will call this method when CuratorZookeeperClient.start() is
called |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FixedEnsembleProvider(java.lang.String connectionString)
connectionString - connection string| Method Detail |
|---|
public void start()
throws java.lang.Exception
EnsembleProviderCuratorZookeeperClient.start() is
called
start in interface EnsembleProviderjava.lang.Exception - errors
public void close()
throws java.io.IOException
EnsembleProviderCuratorZookeeperClient.close() is called
close in interface EnsembleProviderclose in interface java.io.Closeablejava.io.IOException - errorspublic java.lang.String getConnectionString()
EnsembleProvider
getConnectionString in interface EnsembleProviderZooKeeper.ZooKeeper(String, int, Watcher) etc.)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||