|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.monitor.JMXMonitor
public class JMXMonitor
JMXMonitor Performs monitoring of the values of the attributes of MBeans and executes specified actions as well as sends notifications of the specified events that have occurred.
| 构造方法摘要 | |
|---|---|
JMXMonitor()
Constructs a JMXMonitor instance. |
|
| 方法摘要 | |
|---|---|
boolean |
addActions(MonitorAction... actions)
Adds monitor actions to the monitor |
static boolean |
addMonitorActions(MonitorAction... actions)
|
MBeanServerConnection |
getConnection()
|
static JMXMonitor |
getInstance()
|
static MBeanServerConnection |
getServiceConnection()
Retrieves a connection to JMX service |
static void |
main(String[] args)
|
boolean |
removeActions(MonitorAction... actions)
Removes monitor actions from the monitor |
static boolean |
removeMonitorActions(MonitorAction... actions)
|
static void |
setServiceUrl(String url)
|
void |
setUrl(String url)
Sets the JMX server URL |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public JMXMonitor()
| 方法详细信息 |
|---|
public boolean addActions(MonitorAction... actions)
actions - monitor actions to add
public boolean removeActions(MonitorAction... actions)
actions - monitor actions to remove
public void setUrl(String url)
url - URL of the JMX server
public MBeanServerConnection getConnection()
throws IOException
IOExceptionpublic static JMXMonitor getInstance()
public static boolean addMonitorActions(MonitorAction... actions)
public static boolean removeMonitorActions(MonitorAction... actions)
public static void setServiceUrl(String url)
public static MBeanServerConnection getServiceConnection()
throws IOException
IOException
public static void main(String[] args)
throws Exception
Exception
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||