|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.engine.memory.shrinking.ShrinkerThread
public class ShrinkerThread
A background memory shrinker. Memory problems and concurrent modification exception caused by acting directly on an iterator of the underlying memory cache should have been solved.
| Constructor Summary | |
|---|---|
ShrinkerThread(MemoryCache cache)
Constructor for the ShrinkerThread object. |
|
| Method Summary | |
|---|---|
void |
run()
Main processing method for the ShrinkerThread object |
protected void |
shrink()
This method is called when the thread wakes up. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShrinkerThread(MemoryCache cache)
cache - The MemoryCache which the new shrinker should watch.| Method Detail |
|---|
public void run()
run in interface java.lang.Runnableprotected void shrink()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||