|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netflix.curator.framework.state.ConnectionStateManager
public class ConnectionStateManager
Used internally to manage connection state
| Constructor Summary | |
|---|---|
ConnectionStateManager(CuratorFramework client)
|
|
| Method Summary | |
|---|---|
void |
addStateChange(ConnectionState newState)
Post a state change. |
void |
close()
|
ListenerContainer<ConnectionStateListener> |
getListenable()
Return the listenable |
void |
start()
Start the manager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionStateManager(CuratorFramework client)
client - the client| Method Detail |
|---|
public void start()
public void close()
close in interface Closeablepublic ListenerContainer<ConnectionStateListener> getListenable()
public void addStateChange(ConnectionState newState)
newState - new state
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||