public class

FileMonitoredVm

extends AbstractMonitoredVm
java.lang.Object
   ↳ sun.jvmstat.perfdata.monitor.AbstractMonitoredVm
     ↳ sun.jvmstat.perfdata.monitor.protocol.file.FileMonitoredVm

Class Overview

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.

Summary

[Expand]
Inherited Fields
From class sun.jvmstat.perfdata.monitor.AbstractMonitoredVm
Public Constructors
FileMonitoredVm(VmIdentifier vmid, int interval)
Create a FileMonitoredVm instance.
Public Methods
void addVmListener(VmListener l)
Add a VmListener. .
void removeVmListener(VmListener l)
Remove a VmListener. .
[Expand]
Inherited Methods
From class sun.jvmstat.perfdata.monitor.AbstractMonitoredVm
From class java.lang.Object
From interface sun.jvmstat.monitor.MonitoredVm
From interface sun.jvmstat.monitor.remote.BufferedMonitoredVm

Public Constructors

public FileMonitoredVm (VmIdentifier vmid, int interval)

Create a FileMonitoredVm instance.

Parameters
vmid the vm identifier referring to the file
interval sampling interval (unused in this protocol).

Public Methods

public void addVmListener (VmListener l)

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.

Parameters
l the VmListener to add.

public void removeVmListener (VmListener l)

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.

Parameters
l the VmListener to be removed.