Class Overview
The concrete PerfDataBuffer implementation for the rmi:
protocol for the HotSpot PerfData monitoring implementation.
This class is responsible for acquiring the instrumentation buffer
data for a remote target HotSpot Java Virtual Machine.
Summary
Public Constructors |
|
PerfDataBuffer(RemoteVm rvm, int lvmid)
Create a PerfDataBuffer instance for accessing the specified
instrumentation buffer.
|
Public Methods |
void
|
sample(ByteBuffer buffer)
Get a copy of the remote instrumentation buffer.
|
[Expand]
Inherited Methods |
From class
sun.jvmstat.perfdata.monitor.AbstractPerfDataBuffer
void
|
createPerfDataBuffer(ByteBuffer bb, int lvmid)
Create the perfdata instrumentation buffer for the given lvmid
using the given ByteBuffer object as the source of the instrumentation
data.
|
Monitor
|
findByName(String name)
Find a named Instrumentation object.
|
List<Monitor>
|
findByPattern(String patternString)
Find all Instrumentation objects with names matching the given pattern.
|
ByteBuffer
|
getByteBuffer()
Get the ByteBuffer containing the instrumentation data.
|
byte[]
|
getBytes()
Get a copy of the raw instrumentation data.
|
int
|
getCapacity()
Get the capacity of the instrumentation buffer.
|
int
|
getLocalVmId()
Get the Local Java Virtual Machine Identifier, or lvmid
for the target JVM associated with this instrumentation buffer.
|
MonitorStatus
|
getMonitorStatus()
Get a list of the inserted and removed monitors since last called.
|
|
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.
|
|
Public Constructors
public
PerfDataBuffer
(RemoteVm rvm, int lvmid)
Create a PerfDataBuffer instance for accessing the specified
instrumentation buffer.
Parameters
rvm
| the proxy to the remote MonitredVm object |
lvmid
| the local Java Virtual Machine Identifier of the
remote target. |
Public Methods
public
void
sample
(ByteBuffer buffer)
Get a copy of the remote instrumentation buffer.
The data in the remote instrumentation buffer is copied into
the local byte buffer.
Parameters
buffer
| the buffer to receive the copy of the remote
instrumentation buffer. |
Throws
RemoteException
| Thrown on any communications errors with
the remote system.
|