Class ACMSessionIdResolver.SimultaneousSessionCreationManager<T extends IDSSXMLSessionId>

  • 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
    • 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 maps
        iClusterInfo -
        Throws:
        MSTRWebAPIException
      • 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 interface java.lang.AutoCloseable