Hello,

I tried to understand, how HashMapObjectCache and AbstractObjectCache 
work, but it makes no sense to me at all. 

At least, line 211 in  HashMapObjectCache.java rev.18
should be   "if (getSize() > maxSize)", not the 
other way. Currently the cache would grow forever
in some scenarios. However in most scenarios the
cache is pruned quite often without any need, even
if it holds only one object.

Aside from this obvious bug, I do not understand the
overal caching strategy. Why is the complete cache
cleared, if it is to successful? 

Replacing the current cache with the attached  LRU implementation
improved webdav overall performace 10 times. 

The LRUObjectCache reuses a cache from a different program and   
is not optimized. If someone has a better implementation, I would 
be happy. But it works reliable for me.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to