|
Rakesh API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.TimerTask
org.rakeshv.utils.DynamicCache.Cleaner
private static class DynamicCache.Cleaner
A TimerTask that is used to schedule clearing of
mappings for garbage collected DynamicCache.Value objects.
| Field Summary | |
|---|---|
private java.util.ArrayList<DynamicCache> |
list
A collection of instances of DynamicCache from which
the garbage collected values are to be removed. |
| Constructor Summary | |
|---|---|
DynamicCache.Cleaner()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
run()
The action to be performed by this task when run by a
Timer. |
| Methods inherited from class java.util.TimerTask |
|---|
cancel, scheduledExecutionTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.util.ArrayList<DynamicCache> list
DynamicCache from which
the garbage collected values are to be removed.
| Constructor Detail |
|---|
DynamicCache.Cleaner()
| Method Detail |
|---|
public void run()
Timer. Iterates through list and invokes
DynamicCache.clean() on each instance.
run in interface java.lang.Runnablerun in class java.util.TimerTask
|
Rakesh API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||