Package com.microstrategy.webapi.acm
Class ACMSessionBundle
- java.lang.Object
-
- com.microstrategy.webapi.acm.ACMSessionBundle
-
public class ACMSessionBundle extends java.lang.Object
ACMSessionBundle marries the ClusterInfo (information about an IServer) with the Time-to-live of the current connection. The ClusterInfo is needed when closing the connection. The Ttl is needed to know when to close the session
-
-
Field Summary
Fields Modifier and Type Field Description ACMClusterInfo
mClusterInfo
boolean
mIsCloseable
ACMTimeToLive.RealSessionTTL
mTtl
-
Constructor Summary
Constructors Constructor Description ACMSessionBundle(ACMTimeToLive.RealSessionTTL iTtl, ACMClusterInfo iClusterInfo, boolean iIsCloseable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object iThat)
int
hashCode()
hash hashes ONLY the Session Id proper.
-
-
-
Field Detail
-
mTtl
public final ACMTimeToLive.RealSessionTTL mTtl
-
mClusterInfo
public final ACMClusterInfo mClusterInfo
-
mIsCloseable
public final boolean mIsCloseable
-
-
Constructor Detail
-
ACMSessionBundle
public ACMSessionBundle(ACMTimeToLive.RealSessionTTL iTtl, ACMClusterInfo iClusterInfo, boolean iIsCloseable)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object iThat)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
hash hashes ONLY the Session Id proper. It does not hash the augmented parts. That's because the real Session Id does not include the augmented parts. The augmented parts are superfluous- Overrides:
hashCode
in classjava.lang.Object
-
-