
|
If you were logged in you would be able to see more operations.
|
|
|
|
I've modified Cache.java, adding a 'getListenerList()' to expose the 'listenerList' property, and see it very useful to evaluate the hit-ratio or such data, and then I can tweak the oscache.properties to improve cache.
online trace:
<%=ServletCacheAdministrator.getInstance(getServletContext()).getAppScopeCache(getServletContext()).getListenerList()%>
sample data:
EventListenerList: 2 listeners: type com.opensymphony.oscache.base.events.CacheMapAccessEventListener listener Hit count = 2348370, stale hit count = 675039 and miss count = 137097 type com.opensymphony.oscache.base.events.CacheEntryEventListener listener Added 127423, Updated 684723, Flushed 9870, Removed 0, Groups Flushed 0, Patterns Flushed 0, Cache Flushed 0
|
|
Description
|
I've modified Cache.java, adding a 'getListenerList()' to expose the 'listenerList' property, and see it very useful to evaluate the hit-ratio or such data, and then I can tweak the oscache.properties to improve cache.
online trace:
<%=ServletCacheAdministrator.getInstance(getServletContext()).getAppScopeCache(getServletContext()).getListenerList()%>
sample data:
EventListenerList: 2 listeners: type com.opensymphony.oscache.base.events.CacheMapAccessEventListener listener Hit count = 2348370, stale hit count = 675039 and miss count = 137097 type com.opensymphony.oscache.base.events.CacheEntryEventListener listener Added 127423, Updated 684723, Flushed 9870, Removed 0, Groups Flushed 0, Patterns Flushed 0, Cache Flushed 0
|
Show » |
|