@ThreadSafe @Service(value=org.apache.curator.framework.state.ConnectionStateListener.class) public final class CloudProviderBridge extends AbstractComponent implements org.apache.curator.framework.state.ConnectionStateListener
ConnectionStateListener that makes sure that whenever it connect to a new ensemble, it updates it with the cloud
provider information that are present in the {| Constructor and Description |
|---|
CloudProviderBridge() |
| Modifier and Type | Method and Description |
|---|---|
void |
stateChanged(org.apache.curator.framework.CuratorFramework client,
org.apache.curator.framework.state.ConnectionState newState) |
activateComponent, assertValid, deactivateComponent, isValidpublic void stateChanged(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.state.ConnectionState newState)
stateChanged in interface org.apache.curator.framework.state.ConnectionStateListenerCopyright © 2014 Red Hat. All Rights Reserved.