Interface SessionPool

    • Method Detail

      • getSessionInfo

        SessionInfo getSessionInfo()
        Gets the session info.
        Returns:
        the session info
      • getSessionGroupId

        int getSessionGroupId()
        Gets the session group id.
        Returns:
        the session group, 0 if ungrouped
      • getName

        java.lang.String getName()
        Gets the name of this pool.
        Returns:
        the name
      • getMaxSize

        int getMaxSize()
        Gets the maximum poolsize.
        Returns:
        the max. number of concurrent session instances, 0 = unlimited
      • getSize

        int getSize()
        Gets the current number of session instances.
        Returns:
        the number of sessions managed by this pool
      • shutdown

        void shutdown()
        Closes all sessions in the pool, cleans up and makes the pool unusable.
      • isShutdown

        boolean isShutdown()
        Returns whether the pool is shutdown.
        Returns:
        true if shutdown