|URIResolverExtension and caching [message #116346]
||Tue, 05 July 2005 10:02
| Axel Hecht
Registered: July 2009
I'm not sure whether this is my weak java foo or if this is actually an
eclipse wtp question. I implement a
in my plugin, and I would like to cache some of the computed values.
The values are project specific, so I had some hash for (project, uri)
-> uri. Now my real question is, how do I do that with a sane balance of
performance and memory bloat/leak.
I was thinking about some kind of shared instance like plugin classes
have, but I'm a bit worried how those get teared down again. And is
there a good way to know which hash entries to prune and when?
Yeah, fuzzy description, but it sounds like something that others did a
dozens of times, thus I ask
Powered by FUDForum
. Page generated in 0.09267 seconds