There is a way to get the hit ratio....but unfortunately it's burried pretty deep. Basically what you need to do is: cast the client to a SqlMapClientImpl, get the SqlMapExecutorDelegate, get the cache model by its id, then call getHitRatio() on the cache model.
I suppose we could make this more accessible. ;-) Clinton On Wed, 2 Feb 2005 15:39:01 -0800, Daniel Ryan <[EMAIL PROTECTED]> wrote: > Is it possible to get a view into my LRU caches to see how they are > populating and how much memory each is using? > I'm using Ibatis SQL Map version 2.0.8. Guess I could modify the > source a bit, but just checking to see if there is an api available. > > Thanks, Dan > >