DX Application Performance Management

Expand all | Collapse all

JMX MBean Metrics Data Type

Jump to Best Answer
  • 1.  JMX MBean Metrics Data Type

    Posted 04-14-2015 03:09 PM

    Hi all,


    For an implementation I read some JMX values. I use to read String, Integer and Long variables. Now I'm facing a special MBean that provides a set of values all typed as AtomicLong http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html . This type inherits java.lang.Number, not Integer not Long. So these values are not reported in Introscope.


    Do you know if there is a way to extend data types reported?




  • 2.  Re: JMX MBean Metrics Data Type
    Best Answer

    Broadcom Employee
    Posted 04-15-2015 12:21 AM
    Take a look at this explanation and example:

    So it would appear it's still a long value and can be returned by the agent.