Package org.apache.activemq.ra
Class ServerSessionPoolImpl
java.lang.Object
org.apache.activemq.ra.ServerSessionPoolImpl
- All Implemented Interfaces:
jakarta.jms.ServerSessionPool
$Date$
-
Constructor Summary
ConstructorsConstructorDescriptionServerSessionPoolImpl(ActiveMQEndpointWorker activeMQAsfEndpointWorker, int maxSessions) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected intjakarta.jms.ServerSessionbooleanvoidvoidvoidsetClosing(boolean closing)
-
Constructor Details
-
ServerSessionPoolImpl
-
-
Method Details
-
getServerSession
public jakarta.jms.ServerSession getServerSession() throws jakarta.jms.JMSException- Specified by:
getServerSessionin interfacejakarta.jms.ServerSessionPool- Throws:
jakarta.jms.JMSException
-
returnToPool
-
removeFromPool
-
close
public void close() -
closeSessions
protected int closeSessions() -
isClosing
public boolean isClosing()- Returns:
- Returns the closing.
-
setClosing
public void setClosing(boolean closing) - Parameters:
closing- The closing to set.
-