Ticket #1890 (closed task: moved)

Opened 7 years ago

Last modified 7 years ago

Add StashService to SciJava Common

Reported by: curtis Owned by: curtis
Priority: major Milestone: imagej2-b8-analysis
Component: SciJava Common Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1923


We need a general-purpose way to associate metadata with objects. (SciJava Common's 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.

Change History

comment:1 Changed 7 years ago by bdezonia

  • Blocking 1923 added

comment:2 Changed 7 years ago by bdezonia

See also #1883

comment:3 Changed 6 years ago by curtis

  • Status changed from new to closed
  • Resolution set to moved
Note: See TracTickets for help on using tickets.