|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xmlecho.palomar.cache.CacheProxy
Proxy class for managing Palomar objects cache. All cache requests should go through this proxy object.
Cache,
Policy,
Holder| Field Summary | |
protected int |
cachesDefMaxsize
|
protected long |
cachesDefRefreshFreq
|
protected org.apache.log4j.Logger |
logger
|
| Method Summary | |
java.util.Hashtable |
getAllCacheDetails()
|
Cache |
getCache(java.lang.String cacheName)
Returns the indicated Cache. |
java.util.Hashtable |
getCacheDetails(java.util.Vector cacheList)
|
static CacheProxy |
getInstance()
return the singleton instance |
protected void |
notifyPartners(java.lang.String cacheName,
java.lang.String objectKey)
notify clustered servers that an object has been invalidated in a named cache |
void |
printCache()
Convenience method for printing the cache. |
void |
refresh()
Refresh the entire fdx cache area. |
void |
refresh(java.util.Vector cacheList)
Refresh one or more caches. |
protected boolean |
shouldNotify(java.lang.String cacheName)
notify clustered servers that an object has been invalidated in a named cache |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected long cachesDefRefreshFreq
protected int cachesDefMaxsize
protected org.apache.log4j.Logger logger
| Method Detail |
public static CacheProxy getInstance()
public Cache getCache(java.lang.String cacheName)
Cache.
null if none exists with the given name.
protected void notifyPartners(java.lang.String cacheName,
java.lang.String objectKey)
protected boolean shouldNotify(java.lang.String cacheName)
public void refresh(java.util.Vector cacheList)
cacheList - list of caches to be cleanedpublic void refresh()
public java.util.Hashtable getAllCacheDetails()
public java.util.Hashtable getCacheDetails(java.util.Vector cacheList)
public void printCache()
toString() methods.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||