public interface

RemoteVm

implements Remote
sun.jvmstat.monitor.remote.RemoteVm
Known Indirect Subclasses

Class Overview

Interface for accessing the instrumentation exported by a Java Virtual Machine running on a remote host.

Summary

Public Methods
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 abstract void detach ()

Interface to detach from the remote Java Virtual Machine.

Throws
RemoteException Thrown on any communication error

public abstract 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.
Throws
RemoteException Thrown on any communication error

public abstract 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.
Throws
RemoteException Thrown on any communication error

public abstract 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.

Throws
RemoteException Thrown on any communication error