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
    • Constructor Detail

      • SessionInactivityTimer

        public SessionInactivityTimer()
    • Method Detail

      • schedule

        @Deprecated
        public void schedule()
        Deprecated.
        For backward api compatibility only.
        See Also:
        schedule(long)
      • 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()