tonva / pojo-mbean

Automatically exported from code.google.com/p/pojo-mbean
0 stars 0 forks source link

MessagingMBean: Change duration handling to allow specifying TimeUnit #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, the duration notification notifyStop() and reporting 
(getDurationXxxMillis()) are hardcoded to report durations in milliseconds.

Certain systems may prefer or demand reporting in alternative time units 
(microseconds or seconds), so we should separate duration metrics from its 
units, and let units be settable with TimeUnit.MILLISECONDS default.

A new MBean attribute: (durationUnit?) should be added.
Existing MBean attributes should be renamed, removing the "Millis" suffix.

Original issue reported on code.google.com by morten.h...@gmail.com on 16 Jul 2011 at 8:27

GoogleCodeExporter commented 9 years ago

Original comment by morten.h...@gmail.com on 16 Jul 2011 at 8:29

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r143.

Original comment by morten.h...@gmail.com on 16 Jul 2011 at 9:45