The following code sample creates an instance of AdminClient called "ac", which will be used in later steps to query JMX, get Stats from MBeans, and invoke methods on MBeans.
以下的代码样本创建一个名为“ac”的AdminClient实例,在后面的步骤中会用它来查询J MX、从MBean获取Stats,以及调用MBean中的方法。
The following code sample creates an instance of AdminClient called "ac", which will be used in later steps to query JMX, get Stats from MBeans, and invoke methods on MBeans.
以下的代码样本创建一个名为“ac”的AdminClient实例,在后面的步骤中会用它来查询J MX、从MBean获取Stats,以及调用MBean中的方法。
应用推荐