Class DistributableSessionManager

    • Method Detail

      • getSessionListeners

        public io.undertow.server.session.SessionListeners getSessionListeners()
        Description copied from interface: UndertowSessionManager
        Returns the configured session listeners for this web application
        Specified by:
        getSessionListeners in interface UndertowSessionManager
        Returns:
        the session listeners
      • start

        public void start()
        Specified by:
        start in interface io.undertow.server.session.SessionManager
      • accept

        public void accept​(long stamp)
        Specified by:
        accept in interface LongConsumer
      • stop

        public void stop()
        Specified by:
        stop in interface io.undertow.server.session.SessionManager
      • createSession

        public io.undertow.server.session.Session createSession​(io.undertow.server.HttpServerExchange exchange,
                                                                io.undertow.server.session.SessionConfig config)
        Specified by:
        createSession in interface io.undertow.server.session.SessionManager
      • getSession

        public io.undertow.server.session.Session getSession​(io.undertow.server.HttpServerExchange exchange,
                                                             io.undertow.server.session.SessionConfig config)
        Specified by:
        getSession in interface io.undertow.server.session.SessionManager
      • registerSessionListener

        public void registerSessionListener​(io.undertow.server.session.SessionListener listener)
        Specified by:
        registerSessionListener in interface io.undertow.server.session.SessionManager
      • removeSessionListener

        public void removeSessionListener​(io.undertow.server.session.SessionListener listener)
        Specified by:
        removeSessionListener in interface io.undertow.server.session.SessionManager
      • setDefaultSessionTimeout

        public void setDefaultSessionTimeout​(int timeout)
        Specified by:
        setDefaultSessionTimeout in interface io.undertow.server.session.SessionManager
      • getTransientSessions

        public Set<String> getTransientSessions()
        Specified by:
        getTransientSessions in interface io.undertow.server.session.SessionManager
      • getActiveSessions

        public Set<String> getActiveSessions()
        Specified by:
        getActiveSessions in interface io.undertow.server.session.SessionManager
      • getAllSessions

        public Set<String> getAllSessions()
        Specified by:
        getAllSessions in interface io.undertow.server.session.SessionManager
      • getSession

        public io.undertow.server.session.Session getSession​(String sessionId)
        Specified by:
        getSession in interface io.undertow.server.session.SessionManager
      • getDeploymentName

        public String getDeploymentName()
        Specified by:
        getDeploymentName in interface io.undertow.server.session.SessionManager
      • getStatistics

        public io.undertow.server.session.SessionManagerStatistics getStatistics()
        Specified by:
        getStatistics in interface io.undertow.server.session.SessionManager
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object