Class 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 Detail

      • DEFAULT_PERIOD_MS

        public static final long DEFAULT_PERIOD_MS
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • HouseKeeper

        public HouseKeeper()
        Deprecated.
    • Method Detail

      • 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 java.lang.Exception
        Deprecated.
        Set the period between scavenge cycles
        Parameters:
        sec - the interval (in seconds)
        Throws:
        java.lang.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