public class

PerfDataBuffer

extends AbstractPerfDataBuffer
java.lang.Object
   ↳ sun.jvmstat.perfdata.monitor.AbstractPerfDataBuffer
     ↳ sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer

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

[Expand]
Inherited Fields
From class sun.jvmstat.perfdata.monitor.AbstractPerfDataBuffer
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
From class java.lang.Object

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.