Jvmstat

sun.jvmstat.monitor.remote
Interface RemoteVm

All Superinterfaces:
Remote

public interface RemoteVm
extends Remote

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

Since:
1.5

Method Summary
 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.
 

Method Detail

getBytes

byte[] getBytes()
                throws RemoteException
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

getCapacity

int getCapacity()
                throws RemoteException
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

getLocalVmId

int getLocalVmId()
                 throws RemoteException
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

detach

void detach()
            throws RemoteException
Interface to detach from the remote Java Virtual Machine.

Throws:
RemoteException - Thrown on any communication error

Jvmstat