Class DefaultSession.SessionInactivityTimer

  • Enclosing class:
    DefaultSession

    public class DefaultSession.SessionInactivityTimer
    extends java.lang.Object
    The Class 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.
    • 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
    • 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()