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.HostListener
public void vmStatusChanged(sun.jvmstat.monitor.event.VmStatusChangeEvent event)
vmStatusChanged
in interface sun.jvmstat.monitor.event.HostListener
public void addJvmStatusListener(JvmStatusListener listener)
JvmStatusNotifier
addJvmStatusListener
in interface JvmStatusNotifier
listener
- the receiver of future JvmStatusListener.jvmStarted()
and JvmStatusListener.jvmStopped()
callspublic void removeJvmStatusListener(JvmStatusListener listener)
JvmStatusNotifier
removeJvmStatusListener
in interface JvmStatusNotifier
listener
- the JvmStatusListener
to be unregistered.Copyright © 2013. All Rights Reserved.