Class Overview
Concrete implementation of the RemoteVm interface for the HotSpot PerfData
shared memory implementation of the jvmstat monitoring APIs. This class
providing remote access to the instrumentation exported by a local HotSpot
Java Virtual Machine. The instrumentation buffer is shipped in whole to
the remote machine, which is responsible for parsing and provide access
to the contained data.
Summary
Public Methods |
void
|
detach()
Interface to detach from the remote Java Virtual Machine.
|
byte[]
|
getBytes()
Interface to get the bytes associated with the instrumentation
for the remote Java Virtual Machine.
|
int
|
getCapacity()
Interface to get the the size of the instrumentation buffer
for the target Java Virtual Machine.
|
int
|
getLocalVmId()
Interface to return the Local Virtual Machine Identifier for
the remote Java Virtual Machine.
|
[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.remote.RemoteVm
abstract
void
|
detach()
Interface to detach from the remote Java Virtual Machine.
|
abstract
byte[]
|
getBytes()
Interface to get the bytes associated with the instrumentation
for the remote Java Virtual Machine.
|
abstract
int
|
getCapacity()
Interface to get the the size of the instrumentation buffer
for the target Java Virtual Machine.
|
abstract
int
|
getLocalVmId()
Interface to return the Local Virtual Machine Identifier for
the remote Java Virtual Machine.
|
|
Public Methods
public
void
detach
()
Interface to detach from the remote Java Virtual Machine.
public
byte[]
getBytes
()
Interface to get the bytes associated with the instrumentation
for the remote Java Virtual Machine.
Returns
- byte[] - a byte array containing the current bytes
for the instrumentation exported by the
remote Java Virtual Machine.
public
int
getCapacity
()
Interface to get the the size of the instrumentation buffer
for the target Java Virtual Machine.
Returns
- int - the size of the instrumentation buffer for the
remote Java Virtual Machine.
public
int
getLocalVmId
()
Interface to return the Local Virtual Machine Identifier for
the remote Java Virtual Machine. The Local Virtual Machine
Identifier is also know as the lvmid.