Interface RepositorySystemSession.CloseableSession

    • Method Detail

      • sessionId

        java.lang.String sessionId()
        Returns the ID of this closeable session instance. Each closeable session has different ID, unique within repository system they were created with.
        Returns:
        The session ID that is never null.
      • close

        void close()
        Closes the session. The session should be closed by its creator. A closed session should not be used anymore. This method may be invoked multiple times, but close will act only once (first time).
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable