There is an admin servlet that will give you some statistics on each cache. I'm not sure if it has the option to tell you what objects are inside the cache though.

Rajkumar Singh wrote:

Hi

How can we monitor the objects that are added, removed or updated in the JCS
using the JCS API?

If JCS does not have such support then is there anyway to monitor the cache
using some other utility? I have used the dumpMap() and dumpCacheEntries()
of LRUMemoryCache in my update() method of a Java class that extends
LRUMemoryCache . The desription for these method says that "Dump the cache
entries from first to list for debugging". But I didn't get any output in my
log file.

I am using log4j-1.2.7.jar file. My application server is Sybase EA Server.

Thanks
Raj



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to