Mbean and Mxbean differences

Source: Internet
Author: User

The difference between Mxbean and Mbean is that it behaves differently when it refers to some other types of classes in the interface. In Mxbean, if a Mxbean interface defines a property that is a custom type, such as the Heapmemoryusage attribute defined in Memorymxbean, this property is of type Memoryusage, when JMX uses this Mxbean, This memoryusage is converted into a standard type, which is called an open type and is defined in thejavax.management.openmbean包中的。而这个转换的规则是,如果是原生类型,如int或者是String,则不会有变化,但如果是其他自定义类型,则被转换成CompositeDataSupport类。

Mbean and Mxbean differences

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.