|
Jvmstat | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsun.jvmstat.perfdata.monitor.AbstractMonitoredVm
sun.jvmstat.perfdata.monitor.protocol.file.FileMonitoredVm
public class FileMonitoredVm
Concrete implementation of the AbstractMonitoredVm class for the file: protcol for the HotSpot PerfData monitoring implementation.
This class provides the ability to attach to the instrumentation buffer (saved or live) of a target Java Virtual Machine by providing a file URI to a file containing the instrmentation buffer data.
Field Summary |
---|
Fields inherited from class sun.jvmstat.perfdata.monitor.AbstractMonitoredVm |
---|
interval, pdb, vmid |
Constructor Summary | |
---|---|
FileMonitoredVm(VmIdentifier vmid,
int interval)
Create a FileMonitoredVm instance. |
Method Summary | |
---|---|
void |
addVmListener(VmListener l)
Add a VmListener. |
void |
removeVmListener(VmListener l)
Remove a VmListener. |
Methods inherited from class sun.jvmstat.perfdata.monitor.AbstractMonitoredVm |
---|
clearLastException, detach, findByName, findByPattern, getBytes, getCapacity, getInterval, getLastException, getMonitorStatus, getVmIdentifier, isErrored, setInterval, setLastException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileMonitoredVm(VmIdentifier vmid, int interval) throws MonitorException
vmid
- the vm identifier referring to the fileinterval
- sampling interval (unused in this protocol).
MonitorException
Method Detail |
---|
public void addVmListener(VmListener l)
Note - the file: protocol currently does not support the registration or notification of listeners.
addVmListener
in interface MonitoredVm
addVmListener
in class AbstractMonitoredVm
l
- the VmListener to add.public void removeVmListener(VmListener l)
Note - the file: protocol currently does not support the registration or notification of listeners.
removeVmListener
in interface MonitoredVm
removeVmListener
in class AbstractMonitoredVm
l
- the VmListener to be removed.
|
Jvmstat | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |