Jvmstat

sun.jvmstat.monitor.remote
Interface BufferedMonitoredVm

All Superinterfaces:
MonitoredVm
All Known Implementing Classes:
AbstractMonitoredVm, FileMonitoredVm, LocalMonitoredVm, RemoteMonitoredVm

public interface BufferedMonitoredVm
extends MonitoredVm

Interface to support asynchronous polling of the exported instrumentation of a target Java Virtual Machine.

Since:
1.5

Method Summary
 byte[] getBytes()
          Interface to get the bytes associated with the instrumentation for the target Java Virtual Machine.
 int getCapacity()
          Interface to get the the size of the instrumentation buffer for the target Java Virtual Machine.
 
Methods inherited from interface sun.jvmstat.monitor.MonitoredVm
addVmListener, clearLastException, detach, findByName, findByPattern, getInterval, getLastException, getVmIdentifier, isErrored, removeVmListener, setInterval, setLastException
 

Method Detail

getBytes

byte[] getBytes()
Interface to get the bytes associated with the instrumentation for the target Java Virtual Machine.

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

getCapacity

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 target Java Virtual Machine.

Jvmstat