Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

When defining a factory, allow asking for its instance storage to use week/soft references #4

Open
apatrida opened this issue Aug 5, 2015 · 0 comments

Comments

@apatrida
Copy link
Contributor

apatrida commented Aug 5, 2015

A factory PerKey or PerThread may want to allow items to be expired (then recreated on another call to injekt) so that they do not endanger memory for keys or threads that are unbounded in their number.

This may only go in the injekt-registry-guava module since it has nice caching support.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant