URIResolverExtension and caching [message #116346] |
Tue, 05 July 2005 10:02  |
Eclipse User |
|
|
|
Hi,
I'm not sure whether this is my weak java foo or if this is actually an
eclipse wtp question. I implement a
org.eclipse.wst.common.uriresolver.internal.provisional.URIR esolverExtension
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
Thanks
Axel
|
|
|
|
Powered by
FUDForum. Page generated in 0.07039 seconds