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.
| Access | Constructor and Description |
|---|---|
| public | FileMonitoredVm(VmIdentifier
the vm identifier referring to the file vmid, int sampling interval (unused in this protocol). interval)Create a FileMonitoredVm instance. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addVmListener(VmListener l)
Implements abstract sun. Implements sun. Add a VmListener. |
| public void | removeVmListener(VmListener l)
Implements abstract sun. Implements sun. Remove a VmListener. |
| FileMonitoredVm | back to summary |
|---|---|
| public FileMonitoredVm(VmIdentifier vmid, int interval) throws MonitorException Create a FileMonitoredVm instance.
| |
| addVmListener | back to summary |
|---|---|
| public void addVmListener(VmListener l) Implements abstract sun. Implements sun. Doc from sun. Add a VmListener. The given listener is added to the list of VmListener objects to be notified of MonitoredVm related events.. Note - the file: protocol currently does not support the registration or notification of listeners. | |
| removeVmListener | back to summary |
|---|---|
| public void removeVmListener(VmListener l) Implements abstract sun. Implements sun. Doc from sun. Remove a VmListener. The given listener is removed from the list of VmListener objects to be notified of MonitoredVm related events.. Note - the file: protocol currently does not support the registration or notification of listeners. | |