accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubbsii <>
Subject [GitHub] accumulo issue #292: ACCUMULO-4681 Created Table & Namespace WeakReference m...
Date Mon, 14 Aug 2017 23:04:42 GMT
Github user ctubbsii commented on the issue:
    This whole thing might be easier to implement with [`CacheBuilder.weakValues()`][1] from
Guava. Eviction seems to occur if value disappears. I **think** this will do what we want,
and it should automatically hide the WeakReference stuff from us, auto-evicting stuff when
the value is gone so we never see it as present in the map. The key can be String, without
the need to do any crazy `new String` stuff, or early construction. It ensures a dependency
on Guava, though.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message