
|
If you were logged in you would be able to see more operations.
|
|
|
|
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
|
|
Description
|
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 |
Show » |
| There are no comments yet on this issue.
|
|