|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jcs.utils.threads.ThreadPool.MonitorRunnable
Periodically execute an action - cleanup in this case
| Field Summary | |
(package private) ThreadPool |
p
|
(package private) boolean |
shouldTerminate
|
(package private) java.lang.Thread |
t
|
| Constructor Summary | |
(package private) |
ThreadPool.MonitorRunnable(ThreadPool p)
Constructor for the MonitorRunnable object |
| Method Summary | |
void |
run()
Main processing method for the MonitorRunnable object |
void |
terminate()
Stop the monitor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
ThreadPool p
java.lang.Thread t
boolean shouldTerminate
| Constructor Detail |
ThreadPool.MonitorRunnable(ThreadPool p)
p - | Method Detail |
public void run()
run in interface java.lang.Runnablepublic void terminate()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||