|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Constructor Summary | |
---|---|
JMXMonitor()
Constructs a JMXMonitor instance. |
Method Summary | |
---|---|
boolean |
addActions(MonitorAction... actions)
Adds monitor actions to the monitor |
static boolean |
addMonitorActions(MonitorAction... actions)
|
javax.management.MBeanServerConnection |
getConnection()
|
static JMXMonitor |
getInstance()
|
static javax.management.MBeanServerConnection |
getServiceConnection()
Retrieves a connection to JMX service |
static void |
main(java.lang.String[] args)
|
boolean |
removeActions(MonitorAction... actions)
Removes monitor actions from the monitor |
static boolean |
removeMonitorActions(MonitorAction... actions)
|
static void |
setServiceUrl(java.lang.String url)
|
void |
setUrl(java.lang.String url)
Sets the JMX server URL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMXMonitor()
Method Detail |
---|
public boolean addActions(MonitorAction... actions)
actions
- monitor actions to add
public boolean removeActions(MonitorAction... actions)
actions
- monitor actions to remove
public void setUrl(java.lang.String url)
url
- URL of the JMX serverpublic javax.management.MBeanServerConnection getConnection() throws java.io.IOException
java.io.IOException
public static JMXMonitor getInstance()
public static boolean addMonitorActions(MonitorAction... actions)
public static boolean removeMonitorActions(MonitorAction... actions)
public static void setServiceUrl(java.lang.String url)
public static javax.management.MBeanServerConnection getServiceConnection() throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |