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
- 作者:
- 无花
从类 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.