|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xmlecho.palomar.cache.Monitor
org.xmlecho.palomar.cache.CacheMasterMonitor
Class for controlling the cache objects. Periodically wakes up at every set time and refreshes the cache
| Field Summary |
| Fields inherited from class org.xmlecho.palomar.cache.Monitor |
cacheToRefresh, nextWakeupTime, wakeupTime |
| Constructor Summary | |
CacheMasterMonitor(long defaultRefreshTime)
Constructor sets the time to wakeup |
|
| Method Summary | |
java.util.Hashtable |
getCacheList()
|
void |
run()
WorkHorse for monitoring. |
void |
setCacheList(java.util.Hashtable cacheList)
sets the caches list |
| Methods inherited from class org.xmlecho.palomar.cache.Monitor |
getCache, getNextWakeupTime, getRefreshTime, setCache, setNextWakeupTime, setRefreshTime |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CacheMasterMonitor(long defaultRefreshTime)
defaultRefreshTime - time to refresh the caches| Method Detail |
public void setCacheList(java.util.Hashtable cacheList)
cacheList - list of caches to be monitoredpublic java.util.Hashtable getCacheList()
public void run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||