org.apache.activemq.jms.pool
Class SessionKey

java.lang.Object
  extended by org.apache.activemq.jms.pool.SessionKey

public class SessionKey
extends Object

A cache key for the session details used to locate PooledSession intances.


Constructor Summary
SessionKey(boolean transacted, int ackMode)
           
 
Method Summary
 boolean equals(Object that)
           
 boolean equals(SessionKey that)
           
 int getAckMode()
           
 int hashCode()
           
 boolean isTransacted()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionKey

public SessionKey(boolean transacted,
                  int ackMode)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(SessionKey that)

isTransacted

public boolean isTransacted()

getAckMode

public int getAckMode()


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.