Package org.eclipse.jetty.server.session
Class Session.SessionInactivityTimer
- java.lang.Object
-
- org.eclipse.jetty.server.session.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 CyclicTimeout
_timer
-
Constructor Summary
Constructors Constructor Description SessionInactivityTimer()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
cancel()
void
destroy()
void
schedule()
Deprecated.void
schedule(long time)
-
-
-
Field Detail
-
_timer
protected final CyclicTimeout _timer
-
-
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()
-
-