Package org.eclipse.jetty.server.session
Class HouseKeeper
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.server.session.HouseKeeper
- All Implemented Interfaces:
LifeCycle
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
HouseKeeper
There is 1 session HouseKeeper per SessionIdManager instance.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.Get the period between scavenge cycles.voidscavenge()Deprecated.Periodically do session housekeepingvoidsetIntervalSec(long sec) Deprecated.Set the period between scavenge cyclesvoidsetSessionIdManager(SessionIdManager sessionIdManager) Deprecated.SessionIdManager associated with this scavengertoString()Deprecated.Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
-
Field Details
-
DEFAULT_PERIOD_MS
public static final long DEFAULT_PERIOD_MSDeprecated.- See Also:
-
-
Constructor Details
-
HouseKeeper
public HouseKeeper()Deprecated.
-
-
Method Details
-
setSessionIdManager
Deprecated.SessionIdManager associated with this scavenger- Parameters:
sessionIdManager- the session id manager
-
setIntervalSec
Deprecated.Set the period between scavenge cycles- Parameters:
sec- the interval (in seconds)- Throws:
Exception- if any error during restarting the scavenging
-
getIntervalSec
Deprecated.Get the period between scavenge cycles.- Returns:
- the interval (in seconds)
-
scavenge
public void scavenge()Deprecated.Periodically do session housekeeping -
toString
Deprecated.- Overrides:
toStringin classAbstractLifeCycle
-