Class Session.SessionInactivityTimer

  • Enclosing class:
    Session

    public class Session.SessionInactivityTimer
    extends Object
    SessionInactivityTimer Each Session has a timer associated with it that fires whenever it has been idle (ie not accessed by a request) for a configurable amount of time, or the Session expires.
    See Also:
    SessionCache
    • Field Detail

      • _timer

        protected final org.eclipse.jetty.io.CyclicTimeout _timer
      • _msec

        protected long _msec
    • Constructor Detail

      • SessionInactivityTimer

        public SessionInactivityTimer()
    • Method Detail

      • setTimeout

        public void setTimeout​(long ms)
        Parameters:
        ms - the timeout to set; -1 means that the timer will not be scheduled
      • schedule

        public void schedule()
      • cancel

        public void cancel()
      • destroy

        public void destroy()