Class Session.SessionInactivityTimer

  • Enclosing class:
    Session

    public class Session.SessionInactivityTimer
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      protected org.eclipse.jetty.io.CyclicTimeout _timer  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()  
      void destroy()  
      void schedule​(long time)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _timer

        protected final org.eclipse.jetty.io.CyclicTimeout _timer
    • Constructor Detail

      • SessionInactivityTimer

        public SessionInactivityTimer()
    • Method Detail

      • schedule

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

        public void cancel()
      • destroy

        public void destroy()