class SessionCleaner
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
private long |
clientGoneTimeout |
private Clock |
clock |
private DriverSessions |
driverSessions |
private long |
insideBrowserTimeout |
private java.util.logging.Logger |
log |
private boolean |
running |
private long |
sleepInterval |
Constructor and Description |
---|
SessionCleaner(DriverSessions driverSessions,
java.util.logging.Logger log,
Clock clock,
long clientGoneTimeout,
long insideBrowserTimeout) |
SessionCleaner(DriverSessions driverSessions,
java.util.logging.Logger log,
long clientGoneTimeout,
long insideBrowserTimeout) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
checkExpiry() |
void |
run() |
(package private) void |
stopCleaner() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private final DriverSessions driverSessions
private final long clientGoneTimeout
private final long insideBrowserTimeout
private final long sleepInterval
private final java.util.logging.Logger log
private final Clock clock
private volatile boolean running
SessionCleaner(DriverSessions driverSessions, java.util.logging.Logger log, long clientGoneTimeout, long insideBrowserTimeout)
SessionCleaner(DriverSessions driverSessions, java.util.logging.Logger log, Clock clock, long clientGoneTimeout, long insideBrowserTimeout)