Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a StashService #54

ctrueden opened this Issue May 1, 2014 · 0 comments


None yet
1 participant
Copy link

commented May 1, 2014

We need a general-purpose way to associate metadata with objects. (The ObjectService is not quite appropriate: it stores objects onto lists associated with a type hierarchy.)

The StashService API will take a list of objects to use as a (weak) key, and a value to associate with that list of objects. So it is just a thread-safe HashMap which takes care of aggregating keys into a single StashKey object with WeakReferences to the key objects.

Once we have this service, we can use it for extensible metadata annotations of arbitrary data objects. For example, we can save derived data such as min/max values, histograms, statistics, measurements and more.


@ctrueden ctrueden changed the title Add StashService to SciJava Common Add a StashService May 1, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.