Class HouseKeeper

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.server.session.HouseKeeper
All Implemented Interfaces:
LifeCycle

@ManagedObject @Deprecated(since="2021-05-27") public class HouseKeeper extends AbstractLifeCycle
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
HouseKeeper There is 1 session HouseKeeper per SessionIdManager instance.
  • Field Details

    • DEFAULT_PERIOD_MS

      public static final long DEFAULT_PERIOD_MS
      Deprecated.
      See Also:
  • Constructor Details

    • HouseKeeper

      public HouseKeeper()
      Deprecated.
  • Method Details

    • setSessionIdManager

      public void setSessionIdManager(SessionIdManager sessionIdManager)
      Deprecated.
      SessionIdManager associated with this scavenger
      Parameters:
      sessionIdManager - the session id manager
    • setIntervalSec

      public void setIntervalSec(long sec) throws Exception
      Deprecated.
      Set the period between scavenge cycles
      Parameters:
      sec - the interval (in seconds)
      Throws:
      Exception - if any error during restarting the scavenging
    • getIntervalSec

      @ManagedAttribute(value="secs between scavenge cycles", readonly=true) public long getIntervalSec()
      Deprecated.
      Get the period between scavenge cycles.
      Returns:
      the interval (in seconds)
    • scavenge

      public void scavenge()
      Deprecated.
      Periodically do session housekeeping
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class AbstractLifeCycle