Package com.microstrategy.webapi
Class ACMSimultaneousSessionCreationManager<T extends IDSSXMLSessionId>
- java.lang.Object
-
- com.microstrategy.webapi.ACMSimultaneousSessionCreationManager<T>
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ACMSimultaneousSessionCreationManager<T extends IDSSXMLSessionId> extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description ACMSimultaneousSessionCreationManager(com.microstrategy.webapi.ACMResolverSessionMap iMaps, IDSSXMLSessionId.IMasterSessionId iMasterSessionId, ACMSSCMSessionTypeInfo<T> iSSCMSessionTypeInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.lang.String
createMapKey()
void
finish(T iSessionId, ACMClusterInfo iClusterInfo, boolean iIsCloseable)
finish ends the process that adds a Project Session Id under the input Master Session Id that was started by startCreateProjectSessionIdT
getSessionId()
getProjectSessionId gets the Project Session Id if the create session failed.java.lang.String
getSpecificConnectivityInfo()
void
setError(MSTRWebAPIException iEx)
void
waitUntilSessionIsReady()
-
-
-
Constructor Detail
-
ACMSimultaneousSessionCreationManager
public ACMSimultaneousSessionCreationManager(com.microstrategy.webapi.ACMResolverSessionMap iMaps, IDSSXMLSessionId.IMasterSessionId iMasterSessionId, ACMSSCMSessionTypeInfo<T> iSSCMSessionTypeInfo)
-
-
Method Detail
-
createMapKey
public java.lang.String createMapKey()
-
getSpecificConnectivityInfo
public java.lang.String getSpecificConnectivityInfo()
-
waitUntilSessionIsReady
public void waitUntilSessionIsReady()
-
finish
public void finish(T iSessionId, ACMClusterInfo iClusterInfo, boolean iIsCloseable) throws MSTRWebAPIException
finish ends the process that adds a Project Session Id under the input Master Session Id that was started by startCreateProjectSessionId- Parameters:
iSessionId
- a new Project Session Id to be added to the mapsiClusterInfo
-- Throws:
MSTRWebAPIException
-
setError
public void setError(MSTRWebAPIException iEx)
-
getSessionId
public T getSessionId() throws MSTRWebAPIException
getProjectSessionId gets the Project Session Id if the create session failed. Otherwise it throws the exception of the create session failure- Returns:
- Throws:
MSTRWebAPIException
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-