Class SessionTrackerImpl

  • All Implemented Interfaces:
    Runnable, SessionTracker
    Direct Known Subclasses:
    LocalSessionTracker

    public class SessionTrackerImpl
    extends ZooKeeperCriticalThread
    implements SessionTracker
    This is a full featured SessionTracker. It tracks session in grouped by tick interval. It always rounds up the tick interval to provide a sort of grace period. Sessions are thus expired in batches made up of sessions that expire in a given interval.