ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhao, Qintao \(Contractor\)" <qintao_z...@fanniemae.com>
Subject To monitor used cache model size
Date Fri, 22 Sep 2006 21:35:42 GMT
I have a requirement to monitor the cache size used by a cache model.
Say I have the following cache model defined in a SqlMap,
<cacheModel id="MDC_PRFL-cache" type="LRU" readOnly="true"
<flushInterval hours="168" />
<property name="cache-size" value="2000" />
I would like to know the actual size used by cache during runtime.
Could someone help me out ?  We want to make sure the cache is 
big enough to hold all cached objects in the future.
thanks a lot, 

View raw message