java.lang.Object | ||
↳ | sun.jvmstat.monitor.MonitoredHost | |
↳ | sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider |
Concrete implementation of the MonitoredHost interface for the rmi protocol of the HotSpot PerfData monitoring implementation.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
sun.jvmstat.monitor.MonitoredHost
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a MonitoredHostProvider instance using the given HostIdentifier.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the current set of active Java Virtual Machines for this
MonitoredHost.
| |||||||||||
Add a HostListener.
| |||||||||||
Detach from the indicated MonitoredVm.
| |||||||||||
Get the MonitoredVm for the given Java Virtual Machine.
| |||||||||||
Get the MonitoredVm for the given Java Virtual Machine.
| |||||||||||
Remove a HostListener.
| |||||||||||
Set the polling interval for this MonitoredHost.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
sun.jvmstat.monitor.MonitoredHost
| |||||||||||
From class
java.lang.Object
|
Create a MonitoredHostProvider instance using the given HostIdentifier.
hostId | the host identifier for this MonitoredHost |
---|
MonitorException | Thrown on any error encountered while communicating with the remote host. |
---|
Return the current set of active Java Virtual Machines for this
MonitoredHost. The returned Set contains Integer
instances
holding the local virtual machine identifier, or lvmid
for each instrumented Java Virtual Machine currently available.
MonitorException |
---|
Add a HostListener. The given listener is added to the list of HostListener objects to be notified of MonitoredHost related events.
listener | the HostListener to add. |
---|
Detach from the indicated MonitoredVm.
vm | the monitored Java Virtual Machine. |
---|
MonitorException |
---|
Get the MonitoredVm for the given Java Virtual Machine. The default sampling interval is used for the MonitoredVm instance.
vmid | the VmIdentifier specifying the target Java Virtual Machine. |
---|
MonitorException |
---|
Get the MonitoredVm for the given Java Virtual Machine. The sampling interval is set to the given interval.
vmid | the VmIdentifier specifying the target Java Virtual Machine. |
---|---|
interval | the sampling interval for the target Java Virtual Machine. |
MonitorException |
---|
Remove a HostListener. The given listener is removed from the list of HostListener objects to be notified of MonitoredHost related events.
listener | the HostListener to add. |
---|
Set the polling interval for this MonitoredHost.
newInterval | the polling interval, in milliseconds |
---|