History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CACHE-121
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Andres March
Reporter: Tak Yoshida
Votes: 3
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
OSCache

Need some admin functions from Cache class

Created: 05/Nov/04 07:15 PM   Updated: 13/Mar/05 02:57 PM
Component/s: Base Classes
Affects Version/s: 2.0.2
Fix Version/s: 3.0

Environment: JVM 1.4.x


 Description  « Hide
In order to have monitor function for the application's admin page,
I would like to have Cache class with admin functions, such as list up all the cached objects, and get size of cached objects.

I am thinking to add following codes locally now, but I could not find the method only for valid cached onjects. I could filter only valid objects manually, so it would be all right.
I would really appreciate it, if you would consider my proposal in future release.

Here is the code.
---- Cache.java ----
public int size()
{
  return cacheMap.size();
}

public Set keySet()
{
  return cacheMap.keySet();
}

Regards,
Tak Yoshida

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.