java.lang.Object | ||
↳ | sun.jvmstat.perfdata.monitor.AbstractMonitoredVm | |
↳ | sun.jvmstat.perfdata.monitor.protocol.rmi.RemoteMonitoredVm |
Concrete implementation of the AbstractMonitoredVm class for the rmi: protocol for the HotSpot PerfData monitoring implementation.
This class provides the ability to acquire to the instrumentation buffer of a live, remote target Java Virtual Machine through an RMI server.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
sun.jvmstat.perfdata.monitor.AbstractMonitoredVm
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a RemoteMonitoredVm instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a VmListener.
| |||||||||||
Method to attach to the remote MonitoredVm.
| |||||||||||
Detach from target Java Virtual Machine.
| |||||||||||
Get the proxy to the remote MonitoredVm.
| |||||||||||
Remove a VmListener.
| |||||||||||
Get a copy of the remote instrumentation buffer.
| |||||||||||
Set the polling interval to
interval milliseconds.
|
[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
|
Create a RemoteMonitoredVm instance.
rvm | the proxy to the remote MonitoredVm instance. |
---|---|
vmid | the vm identifier specifying the remot target JVM |
timer | the timer used to run polling tasks |
interval | the sampling interval |
MonitorException |
---|
Add a VmListener. The given listener is added to the list of VmListener objects to be notified of MonitoredVm related events.
l | the VmListener to add. |
---|
Detach from target Java Virtual Machine. After calling this method, updates of the instrumentation data values may be halted. All event notifications are halted. Further interactions with this object should be avoided.
Get the proxy to the remote MonitoredVm.
Remove a VmListener. The given listener is removed from the list of VmListener objects to be notified of MonitoredVm related events.
l | the VmListener to be removed. |
---|
Get a copy of the remote instrumentation buffer.
The data in the remote instrumentation buffer is copied into a local byte buffer.
RemoteException | Thrown on any communications errors with the remote system. |
---|
Set the polling interval to interval
milliseconds.
Polling based monitoring implementations need to refresh the
instrumentation data on a periodic basis. This interface allows
the interval to override the implementation specific default
interval.
newInterval | the polling interval in milliseconds |
---|