[Opensymphony-oscache] Getting all the keys in a Cache object
Ganesh <[email protected]> Wed, 14 Jun 2006 02:22:30 CDT
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <6347657.1150269780250.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
Hi, We have a req to have an admin screen for the cached objects. The main purpose of this is to enable the admin to manually flush an object. For this the admin has to manually enter the key. In some cases the keys are hard to remember. So is it possible to get the list of keys that are stored in the cache object. like cache.getKeys() or sth ?? I maintain a hashmap, the key is the "groupName" and value is the cache object. The cache object would contain a "cachekey" and the value would be the "cached object". From the hash table, we can get the Cache object for a given group. For this cache object, i need to know the set of keys. Is this possible ?? Thanks in advance, Ganesh --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=34259&messageID=66675#66675