| Modifier and Type | Class and Description |
|---|---|
| protected class |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private final AutoLock | |
| protected boolean | |
| protected HouseKeeper. | |
| protected Scheduler | |
| protected SessionIdManager | |
| protected Scheduler. | |
| public static final long | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | doStart()
Overrides org. Method to override to start the lifecycle |
| protected void | doStop()
Overrides org. Method to override to stop the lifecycle |
| public long | |
| public void | |
| public void | |
| public void | setSessionIdManager(SessionIdManager
the session id manager sessionIdManager)SessionIdManager associated with this scavenger |
| protected void | |
| protected void | |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| _intervalMs | back to summary |
|---|---|
| private long _intervalMs | |
| _lock | back to summary |
|---|---|
| private final AutoLock _lock Hides org. | |
| _ownScheduler | back to summary |
|---|---|
| protected boolean _ownScheduler | |
| _runner | back to summary |
|---|---|
| protected HouseKeeper. | |
| _scheduler | back to summary |
|---|---|
| protected Scheduler _scheduler | |
| _sessionIdManager | back to summary |
|---|---|
| protected SessionIdManager _sessionIdManager | |
| _task | back to summary |
|---|---|
| protected Scheduler. | |
| DEFAULT_PERIOD_MS | back to summary |
|---|---|
| public static final long DEFAULT_PERIOD_MS | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides org. | |
| HouseKeeper | back to summary |
|---|---|
| public HouseKeeper() | |
| doStart | back to summary |
|---|---|
| protected void doStart() throws Exception Overrides org. Doc from org. Method to override to start the lifecycle | |
| doStop | back to summary |
|---|---|
| protected void doStop() throws Exception Overrides org. Doc from org. Method to override to stop the lifecycle | |
| getIntervalSec | back to summary |
|---|---|
| public long getIntervalSec() Get the period between scavenge cycles.
| |
| scavenge | back to summary |
|---|---|
| public void scavenge() Periodically do session housekeeping | |
| setIntervalSec | back to summary |
|---|---|
| public void setIntervalSec(long sec) throws Exception Set the period between scavenge cycles
| |
| setSessionIdManager | back to summary |
|---|---|
| public void setSessionIdManager(SessionIdManager sessionIdManager) SessionIdManager associated with this scavenger
| |
| startScavenging | back to summary |
|---|---|
| protected void startScavenging() throws Exception If scavenging is not scheduled, schedule it.
| |
| stopScavenging | back to summary |
|---|---|
| protected void stopScavenging() throws Exception If scavenging is scheduled, stop it.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| Runner | back to summary |
|---|---|
| protected Runner() | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |