public class

RemoteVmImpl

extends Object
implements RemoteVm
java.lang.Object
   ↳ sun.tools.jstatd.RemoteVmImpl

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
From interface sun.jvmstat.monitor.remote.RemoteVm

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.