Interface ClientSessionFactoryInternal
-
- All Superinterfaces:
AutoCloseable,ClientSessionFactory
- All Known Implementing Classes:
ClientSessionFactoryImpl
public interface ClientSessionFactoryInternal extends ClientSessionFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddFailureListener(SessionFailureListener listener)voidcauseExit()voidconnect(int reconnectAttempts)voidconnect(int reconnectAttempts, boolean failoverOnInitialConnection)Deprecated.This method is no longer acceptable to connect.ObjectgetBackupConnector()ConfirmationWindowWarninggetConfirmationWindowWarning()ObjectgetConnector()StringgetLiveNodeId()LocklockFailover()intnumConnections()intnumSessions()booleanremoveFailureListener(SessionFailureListener listener)voidremoveSession(ClientSessionInternal session, boolean failingOver)voidsetBackupConnector(TransportConfiguration live, TransportConfiguration backUp)voidsetReconnectAttempts(int i)booleanwaitForRetry(long interval)booleanwaitForTopology(long timeout, TimeUnit unit)-
Methods inherited from interface org.apache.activemq.artemis.api.core.client.ClientSessionFactory
addFailoverListener, cleanup, close, createSession, createSession, createSession, createSession, createSession, createSession, createSession, createTransactedSession, createXASession, getConnection, getConnectorConfiguration, getServerLocator, isClosed, removeFailoverListener
-
-
-
-
Method Detail
-
causeExit
void causeExit()
-
addFailureListener
void addFailureListener(SessionFailureListener listener)
-
removeFailureListener
boolean removeFailureListener(SessionFailureListener listener)
-
waitForTopology
boolean waitForTopology(long timeout, TimeUnit unit)
-
getLiveNodeId
String getLiveNodeId()
-
numConnections
int numConnections()
-
numSessions
int numSessions()
-
removeSession
void removeSession(ClientSessionInternal session, boolean failingOver)
-
connect
void connect(int reconnectAttempts) throws ActiveMQException- Throws:
ActiveMQException
-
connect
@Deprecated void connect(int reconnectAttempts, boolean failoverOnInitialConnection) throws ActiveMQException
Deprecated.This method is no longer acceptable to connect. Replaced byconnect(int).- Throws:
ActiveMQException
-
setBackupConnector
void setBackupConnector(TransportConfiguration live, TransportConfiguration backUp)
-
getConnector
Object getConnector()
-
getBackupConnector
Object getBackupConnector()
-
setReconnectAttempts
void setReconnectAttempts(int i)
-
getConfirmationWindowWarning
ConfirmationWindowWarning getConfirmationWindowWarning()
-
lockFailover
Lock lockFailover()
-
waitForRetry
boolean waitForRetry(long interval)
-
-