Package com.microstrategy.webapi
Class ACMSessionIdResolver.SimultaneousSessionCreationManager<T extends IDSSXMLSessionId>
- java.lang.Object
-
- com.microstrategy.webapi.ACMSessionIdResolver.SimultaneousSessionCreationManager<T>
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing class:
- ACMSessionIdResolver
public static class ACMSessionIdResolver.SimultaneousSessionCreationManager<T extends IDSSXMLSessionId> extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description SimultaneousSessionCreationManager(com.microstrategy.webapi.ACMSessionIdResolver.Maps iMaps, IDSSXMLSessionId.IMasterSessionId iMasterSessionId, ACMSessionIdResolver.SSCMSessionTypeInfo<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
-
SimultaneousSessionCreationManager
public SimultaneousSessionCreationManager(com.microstrategy.webapi.ACMSessionIdResolver.Maps iMaps, IDSSXMLSessionId.IMasterSessionId iMasterSessionId, ACMSessionIdResolver.SSCMSessionTypeInfo<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
-
-