APIdia Launch Partner
Top Description Methods
sun.jvmstat.monitor.remote

public Interface RemoteVm

extends Remote
Known Direct Implementers
sun.tools.jstatd.RemoteVmImpl
Imports
java.rmi.Remote, .RemoteException

Interface for accessing the instrumentation exported by a Java Virtual Machine running on a remote host.
Author
Brian Doherty
Since
1.5

Method Summary

Modifier and TypeMethod and Description
public void
detach()

Interface to detach from the remote Java Virtual Machine.

public byte[]

Returns:

byte[] - a byte array containing the current bytes for the instrumentation exported by the remote Java Virtual Machine.
getBytes
()

Interface to get the bytes associated with the instrumentation for the remote Java Virtual Machine.

public int

Returns:

int - the size of the instrumentation buffer for the remote Java Virtual Machine.
getCapacity
()

Interface to get the size of the instrumentation buffer for the target Java Virtual Machine.

public int
getLocalVmId()

Interface to return the Local Virtual Machine Identifier for the remote Java Virtual Machine.

Method Detail

detachback to summary
public void detach() throws RemoteException

Interface to detach from the remote Java Virtual Machine.

Exceptions
RemoteException:
Thrown on any communication error
getBytesback to summary
public byte[] getBytes() throws RemoteException

Interface to get the bytes associated with the instrumentation for the remote Java Virtual Machine.

Returns:byte[]

byte[] - a byte array containing the current bytes for the instrumentation exported by the remote Java Virtual Machine.

Exceptions
RemoteException:
Thrown on any communication error
getCapacityback to summary
public int getCapacity() throws RemoteException

Interface to get the size of the instrumentation buffer for the target Java Virtual Machine.

Returns:int

int - the size of the instrumentation buffer for the remote Java Virtual Machine.

Exceptions
RemoteException:
Thrown on any communication error
getLocalVmIdback to summary
public 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.

Exceptions
RemoteException:
Thrown on any communication error