public interface ClientSessionFactoryInternal extends ClientSessionFactory
Modifier and Type | Method and Description |
---|---|
void |
addFailureListener(SessionFailureListener listener) |
void |
causeExit() |
void |
connect(int reconnectAttempts) |
void |
connect(int reconnectAttempts,
boolean failoverOnInitialConnection)
Deprecated.
This method is no longer acceptable to connect.
Replaced by
connect(int) . |
void |
disableFinalizeCheck() |
Object |
getBackupConnector() |
ConfirmationWindowWarning |
getConfirmationWindowWarning() |
Object |
getConnector() |
String |
getLiveNodeId() |
Lock |
lockFailover() |
int |
numConnections() |
int |
numSessions() |
boolean |
removeFailureListener(SessionFailureListener listener) |
void |
removeSession(ClientSessionInternal session,
boolean failingOver) |
void |
setBackupConnector(TransportConfiguration live,
TransportConfiguration backUp) |
void |
setReconnectAttempts(int i) |
boolean |
waitForRetry(long interval) |
boolean |
waitForTopology(long timeout,
TimeUnit unit) |
addFailoverListener, cleanup, close, createSession, createSession, createSession, createSession, createSession, createSession, createTransactedSession, createXASession, getConnection, getConnectorConfiguration, getServerLocator, isClosed, removeFailoverListener
void causeExit()
void addFailureListener(SessionFailureListener listener)
boolean removeFailureListener(SessionFailureListener listener)
boolean waitForTopology(long timeout, TimeUnit unit)
void disableFinalizeCheck()
String getLiveNodeId()
int numConnections()
int numSessions()
void removeSession(ClientSessionInternal session, boolean failingOver)
void connect(int reconnectAttempts) throws ActiveMQException
ActiveMQException
@Deprecated void connect(int reconnectAttempts, boolean failoverOnInitialConnection) throws ActiveMQException
connect(int)
.ActiveMQException
void setBackupConnector(TransportConfiguration live, TransportConfiguration backUp)
Object getConnector()
Object getBackupConnector()
void setReconnectAttempts(int i)
ConfirmationWindowWarning getConfirmationWindowWarning()
Lock lockFailover()
boolean waitForRetry(long interval)
Copyright © 2021 JBoss by Red Hat. All rights reserved.