public class JvmStatHostListener extends Object implements sun.jvmstat.monitor.event.HostListener, JvmStatusNotifier
| Modifier and Type | Method and Description |
|---|---|
void |
addJvmStatusListener(JvmStatusListener listener)
Request to be informed when JVM processes are started or stopped.
|
void |
disconnected(sun.jvmstat.monitor.event.HostEvent event) |
void |
removeJvmStatusListener(JvmStatusListener listener)
Request to no longer be informed when JVM processes are started or stopped.
|
void |
vmStatusChanged(sun.jvmstat.monitor.event.VmStatusChangeEvent event) |
public void disconnected(sun.jvmstat.monitor.event.HostEvent event)
disconnected in interface sun.jvmstat.monitor.event.HostListenerpublic void vmStatusChanged(sun.jvmstat.monitor.event.VmStatusChangeEvent event)
vmStatusChanged in interface sun.jvmstat.monitor.event.HostListenerpublic void addJvmStatusListener(JvmStatusListener listener)
JvmStatusNotifieraddJvmStatusListener in interface JvmStatusNotifierlistener - the receiver of future JvmStatusListener.jvmStarted()
and JvmStatusListener.jvmStopped() callspublic void removeJvmStatusListener(JvmStatusListener listener)
JvmStatusNotifierremoveJvmStatusListener in interface JvmStatusNotifierlistener - the JvmStatusListener to be unregistered.Copyright © 2012. All Rights Reserved.