org.jboss.messaging.core.client.impl
Interface ConnectionManager
- All Known Implementing Classes:
- ConnectionManagerImpl
public interface ConnectionManager
A ConnectionManager
- Author:
- Tim Fox
Created 27 Nov 2008 18:45:46
Method Summary |
void |
causeExit()
|
void |
close()
|
ClientSession |
createSession(java.lang.String username,
java.lang.String password,
boolean xa,
boolean autoCommitSends,
boolean autoCommitAcks,
boolean preAcknowledge,
int ackBatchSize,
int minLargeMessageSize,
boolean blockOnAcknowledge,
boolean autoGroup,
int producerWindowSize,
int consumerWindowSize,
int producerMaxRate,
int consumerMaxRate,
boolean blockOnNonPersistentSend,
boolean blockOnPersistentSend)
|
RemotingConnection |
getConnection(int initialRefCount)
|
int |
numConnections()
|
int |
numSessions()
|
void |
removeSession(ClientSessionInternal session)
|
createSession
ClientSession createSession(java.lang.String username,
java.lang.String password,
boolean xa,
boolean autoCommitSends,
boolean autoCommitAcks,
boolean preAcknowledge,
int ackBatchSize,
int minLargeMessageSize,
boolean blockOnAcknowledge,
boolean autoGroup,
int producerWindowSize,
int consumerWindowSize,
int producerMaxRate,
int consumerMaxRate,
boolean blockOnNonPersistentSend,
boolean blockOnPersistentSend)
throws MessagingException
- Throws:
MessagingException
removeSession
void removeSession(ClientSessionInternal session)
numConnections
int numConnections()
numSessions
int numSessions()
causeExit
void causeExit()
getConnection
RemotingConnection getConnection(int initialRefCount)
close
void close()
Copyright © 2006 JBoss Inc. All Rights Reserved.