Class DistributableSessionManagerStatistics

    • Constructor Detail

      • DistributableSessionManagerStatistics

        public DistributableSessionManagerStatistics​(org.wildfly.clustering.web.session.ActiveSessionStatistics activeSessionStatistics,
                                                     org.wildfly.clustering.web.session.InactiveSessionStatistics inactiveSessionStatistics,
                                                     Integer maxActiveSessions)
    • Method Detail

      • record

        public void record​(io.undertow.server.session.Session object)
        Specified by:
        record in interface org.wildfly.clustering.ee.Recordable<io.undertow.server.session.Session>
      • reset

        public void reset()
        Specified by:
        reset in interface org.wildfly.clustering.ee.Recordable<io.undertow.server.session.Session>
      • getCreatedSessionCount

        public long getCreatedSessionCount()
        Specified by:
        getCreatedSessionCount in interface io.undertow.server.session.SessionManagerStatistics
      • getMaxActiveSessions

        public long getMaxActiveSessions()
        Specified by:
        getMaxActiveSessions in interface io.undertow.server.session.SessionManagerStatistics
      • getActiveSessionCount

        public long getActiveSessionCount()
        Specified by:
        getActiveSessionCount in interface io.undertow.server.session.SessionManagerStatistics
      • getExpiredSessionCount

        public long getExpiredSessionCount()
        Specified by:
        getExpiredSessionCount in interface io.undertow.server.session.SessionManagerStatistics
      • getRejectedSessions

        public long getRejectedSessions()
        Specified by:
        getRejectedSessions in interface io.undertow.server.session.SessionManagerStatistics
      • getMaxSessionAliveTime

        public long getMaxSessionAliveTime()
        Specified by:
        getMaxSessionAliveTime in interface io.undertow.server.session.SessionManagerStatistics
      • getAverageSessionAliveTime

        public long getAverageSessionAliveTime()
        Specified by:
        getAverageSessionAliveTime in interface io.undertow.server.session.SessionManagerStatistics
      • getStartTime

        public long getStartTime()
        Specified by:
        getStartTime in interface io.undertow.server.session.SessionManagerStatistics