
public class FileMonitoredVm extends AbstractMonitoredVm
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.
interval, pdb, vmid| Constructor and Description |
|---|
FileMonitoredVm(VmIdentifier vmid,
int interval)
Create a FileMonitoredVm instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addVmListener(VmListener l)
Add a VmListener.
|
void |
removeVmListener(VmListener l)
Remove a VmListener.
|
clearLastException, detach, findByName, findByPattern, getBytes, getCapacity, getInterval, getLastException, getMonitorStatus, getVmIdentifier, isErrored, setInterval, setLastExceptionpublic FileMonitoredVm(VmIdentifier vmid, int interval) throws MonitorException
vmid - the vm identifier referring to the fileinterval - sampling interval (unused in this protocol).MonitorExceptionpublic void addVmListener(VmListener l)
Note - the file: protocol currently does not support the registration or notification of listeners.
addVmListener in interface MonitoredVmaddVmListener in class AbstractMonitoredVml - 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 MonitoredVmremoveVmListener in class AbstractMonitoredVml - the VmListener to be removed.Copyright © 2017–2018 earcam. All rights reserved.