From: Binoy K. Shah <bkshah@ka...> - 2004-03-12 05:16:53
In CacheGroup you have you have used a HashMap for holding weak
references and with CacheSweeper you have implemented the whole logic
for mimicking the GC activity.=20
I just happened to discover an undocumented class in the Java library
under sun.misc called sun.misc.Cache which is said to be addressing the
weak reference issue. Why was it not worth consideration according to
Okay, the reasons I am asking this is because I have to implement a
similar caching framework and I find Jcache a bit slow for my needs ( no
offence meant to you ) but there are few additional functionalities
provided by your framework which I don't need currently, so I am
planning to create my own stripped down version the cache based on
Any views or feedback will be appreciated.
Don't follow me, I'm lost too...