com.taobao.metamorphosis.tools.utils
类 JMXClient

java.lang.Object
  继承者 com.taobao.metamorphosis.tools.utils.JMXClient

public class JMXClient
extends Object

从以下版本开始:
2011-8-23 下午1:44:37
作者:
无花

方法摘要
 void close()
           
 String getAddressAsString()
           
 Object getAttribute(ObjectName name, String attribute)
           
static JMXClient getJMXClient(String hostName, int port)
           
static JMXClient getJMXClient(String hostName, int port, String userName, String password)
           
 Object invoke(ObjectName name, String operationName, Object[] params, String[] signature)
           
 ObjectInstance queryMBeanForOne(ObjectName name)
           
 ObjectInstance queryMBeanForOne(String name)
           
 Set<ObjectInstance> queryMBeans(ObjectName name, QueryExp query)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

getJMXClient

public static JMXClient getJMXClient(String hostName,
                                     int port)
                              throws JMXClientException
抛出:
JMXClientException

getJMXClient

public static JMXClient getJMXClient(String hostName,
                                     int port,
                                     String userName,
                                     String password)
                              throws JMXClientException
抛出:
JMXClientException

invoke

public Object invoke(ObjectName name,
                     String operationName,
                     Object[] params,
                     String[] signature)
              throws JMXClientException
抛出:
JMXClientException

queryMBeanForOne

public ObjectInstance queryMBeanForOne(String name)

queryMBeanForOne

public ObjectInstance queryMBeanForOne(ObjectName name)

queryMBeans

public Set<ObjectInstance> queryMBeans(ObjectName name,
                                       QueryExp query)
                                throws JMXClientException
抛出:
JMXClientException

getAttribute

public Object getAttribute(ObjectName name,
                           String attribute)
                    throws JMXClientException
抛出:
JMXClientException

close

public void close()

getAddressAsString

public String getAddressAsString()


Copyright © 2010–2013. All rights reserved.