joeledwards / asl-java-tools

A unified set of (mostly) Java libraries and applications developed by the Albuquerque Seismic Lab for seismic data analysis
0 stars 3 forks source link

Resource issues with injecting Metric #4

Closed joeledwards closed 12 years ago

joeledwards commented 12 years ago

Add the Metric's name to the MetricResult so we don't need to pass the Metric itself to the MetricInjector.

We don't know how long it will take MetricInjector to complete its injections, and we want to bind as few resources as possible to it. A Metric object holds far too much data to keep around for an undetermined time period.

joeledwards commented 12 years ago

The recommended approach has been committed [689e6894]