public interface ServerLocatorInternal extends ServerLocator
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
ClientSessionFactoryInternal |
connect() |
void |
factoryClosed(ClientSessionFactory factory) |
AfterConnectInternalListener |
getAfterConnectInternalListener() |
TransportConfiguration |
getClusterTransportConfiguration() |
Executor |
getExecutor() |
String |
getIdentity() |
String |
getNodeID() |
Topology |
getTopology() |
boolean |
isBackup() |
boolean |
isClusterConnection() |
void |
notifyNodeDown(long uniqueEventID,
String nodeID) |
void |
notifyNodeUp(long uniqueEventID,
String nodeID,
Pair<TransportConfiguration,TransportConfiguration> connectorPair,
boolean last) |
void |
setAfterConnectionInternalListener(AfterConnectInternalListener listener) |
void |
setBackup(boolean backup) |
void |
setClusterConnection(boolean clusterConnection) |
void |
setClusterTransportConfiguration(TransportConfiguration tc) |
void |
setIdentity(String identity)
Used to better identify Cluster Connection Locators on logs.
|
void |
setNodeID(String nodeID) |
void |
start(Executor executor) |
addClusterTopologyListener, addInterceptor, close, createSessionFactory, createSessionFactory, createSessionFactory, disableFinalizeCheck, getAckBatchSize, getCallTimeout, getClientFailureCheckPeriod, getConfirmationWindowSize, getConnectionLoadBalancingPolicyClassName, getConnectionTTL, getConsumerMaxRate, getConsumerWindowSize, getDiscoveryGroupConfiguration, getGroupID, getInitialConnectAttempts, getInitialMessagePacketSize, getMaxRetryInterval, getMinLargeMessageSize, getProducerMaxRate, getProducerWindowSize, getReconnectAttempts, getRetryInterval, getRetryIntervalMultiplier, getScheduledThreadPoolMaxSize, getStaticTransportConfigurations, getThreadPoolMaxSize, isAutoGroup, isBlockOnAcknowledge, isBlockOnDurableSend, isBlockOnNonDurableSend, isCacheLargeMessagesClient, isClosed, isCompressLargeMessage, isFailoverOnInitialConnection, isHA, isPreAcknowledge, isUseGlobalPools, removeClusterTopologyListener, removeInterceptor, setAckBatchSize, setAutoGroup, setBlockOnAcknowledge, setBlockOnDurableSend, setBlockOnNonDurableSend, setCacheLargeMessagesClient, setCallTimeout, setClientFailureCheckPeriod, setCompressLargeMessage, setConfirmationWindowSize, setConnectionLoadBalancingPolicyClassName, setConnectionTTL, setConsumerMaxRate, setConsumerWindowSize, setFailoverOnInitialConnection, setGroupID, setInitialConnectAttempts, setInitialMessagePacketSize, setMaxRetryInterval, setMinLargeMessageSize, setPreAcknowledge, setProducerMaxRate, setProducerWindowSize, setReconnectAttempts, setRetryInterval, setRetryIntervalMultiplier, setScheduledThreadPoolMaxSize, setThreadPoolMaxSize, setUseGlobalPools
Executor getExecutor()
void factoryClosed(ClientSessionFactory factory)
AfterConnectInternalListener getAfterConnectInternalListener()
void setAfterConnectionInternalListener(AfterConnectInternalListener listener)
void setIdentity(String identity)
String getIdentity()
void setNodeID(String nodeID)
String getNodeID()
void cleanup()
ClientSessionFactoryInternal connect() throws Exception
Exception
void notifyNodeUp(long uniqueEventID, String nodeID, Pair<TransportConfiguration,TransportConfiguration> connectorPair, boolean last)
void notifyNodeDown(long uniqueEventID, String nodeID)
uniqueEventID
- 0 means get the previous ID +1nodeID
- void setClusterConnection(boolean clusterConnection)
boolean isClusterConnection()
TransportConfiguration getClusterTransportConfiguration()
void setClusterTransportConfiguration(TransportConfiguration tc)
boolean isBackup()
void setBackup(boolean backup)
Topology getTopology()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.