Class Overview
Concrete implementation of the RemoteHost interface for the HotSpot
PerfData rmi: protocol.
This class provides remote access to the instrumentation exported
by HotSpot Java Virtual Machines through the PerfData shared memory
interface.
Summary
Public Methods |
int[]
|
activeVms()
Get a list of Local Virtual Machine Identifiers for the active
Java Virtual Machine the remote system.
|
RemoteVm
|
attachVm(int lvmid, String mode)
Remote method to attach to a remote HotSpot Java Virtual Machine
identified by vmid .
|
void
|
detachVm(RemoteVm rvm)
Remote method to detach from a remote HotSpot Java Virtual Machine
identified by vmid .
|
void
|
disconnected(HostEvent ev)
Invoked when the connection to the MonitoredHost has disconnected
due to communication errors.
|
void
|
vmStatusChanged(VmStatusChangeEvent ev)
Invoked when the status of Java Virtual Machine changes.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
From interface
sun.jvmstat.monitor.event.HostListener
|
From interface
sun.jvmstat.monitor.remote.RemoteHost
abstract
int[]
|
activeVms()
Get a list of Local Virtual Machine Identifiers for the active
Java Virtual Machine the remote system.
|
abstract
RemoteVm
|
attachVm(int vmid, String mode)
Remote method to attach to a remote HotSpot Java Virtual Machine
identified by vmid .
|
abstract
void
|
detachVm(RemoteVm rvm)
Remote method to detach from a remote HotSpot Java Virtual Machine
identified by vmid .
|
|
Public Constructors
Public Methods
public
int[]
activeVms
()
Get a list of Local Virtual Machine Identifiers for the active
Java Virtual Machine the remote system. A Local Virtual Machine
Identifier is also known as an lvmid.
Returns
- int[] - A array of lvmids.
public
RemoteVm
attachVm
(int lvmid, String mode)
Remote method to attach to a remote HotSpot Java Virtual Machine
identified by vmid
.
Parameters
lvmid
| The identifier for the target virtual machine. |
Returns
- RemoteVm - A remote object for accessing the remote Java
Virtual Machine.
public
void
detachVm
(RemoteVm rvm)
Remote method to detach from a remote HotSpot Java Virtual Machine
identified by vmid
.
Parameters
rvm
| The remote object for the target Java Virtual
Machine. |
public
void
disconnected
(HostEvent ev)
Invoked when the connection to the MonitoredHost has disconnected
due to communication errors.
Parameters
ev
| the object describing the event.
|
Invoked when the status of Java Virtual Machine changes.
Parameters
ev
| the object describing the event.
|