Class SessionInactivityTimer

java.lang.Object
org.eclipse.jetty.session.SessionInactivityTimer

public class 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. The timer is only scheduled when all Requests have exited the Session. If a request enters a Session whose timer is active, it is cancelled.
  • Constructor Details

  • Method Details

    • 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()