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, wait
nodeDown, nodeUP
public LiveNodeLocator(QuorumManager quorumManager)
public abstract void locateNode() throws HornetQException
HornetQException
public abstract Pair<TransportConfiguration,TransportConfiguration> getLiveConfiguration()
public abstract String getNodeID()
public void notifyRegistrationFailed(boolean alreadyReplicating)
public void connectToCluster(ServerLocatorInternal serverLocator) throws HornetQException
HornetQException
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.