Package org.eclipse.jetty.server.session
Class Session.SessionInactivityTimer
java.lang.Object
org.eclipse.jetty.server.session.Session.SessionInactivityTimer
- Enclosing class:
- Session
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:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
_timer
-
-
Constructor Details
-
SessionInactivityTimer
public SessionInactivityTimer()
-
-
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()
-