public abstract class LiveNodeLocator extends Object implements ClusterTopologyListener
| Constructor and Description |
|---|
LiveNodeLocator(QuorumManager quorumManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
connectToCluster(ServerLocatorInternal serverLocator)
connects to the cluster
|
abstract Pair<TransportConfiguration,TransportConfiguration> |
getLiveConfiguration()
Returns the current connector
|
abstract String |
getNodeID()
Returns the node id for the current connector
|
abstract void |
locateNode()
Locates a possible live server in a cluster
|
void |
notifyRegistrationFailed(boolean alreadyReplicating)
tells the locator the the current connector has failed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnodeDown, nodeUPpublic LiveNodeLocator(QuorumManager quorumManager)
public abstract void locateNode()
throws HornetQException
HornetQExceptionpublic abstract Pair<TransportConfiguration,TransportConfiguration> getLiveConfiguration()
public abstract String getNodeID()
public void notifyRegistrationFailed(boolean alreadyReplicating)
public void connectToCluster(ServerLocatorInternal serverLocator) throws HornetQException
HornetQExceptionCopyright © 2013 JBoss, a division of Red Hat. All rights reserved.