Top Description Methods
sun.jvmstat.monitor

public Interface BufferedMonitoredVm

extends MonitoredVm
Known Direct Implementers
sun.jvmstat.perfdata.monitor.AbstractMonitoredVm
Imports
sun.jvmstat.monitor.*

Interface to support asynchronous polling of the exported instrumentation of a target Java Virtual Machine.
Author
Brian Doherty
Since
1.5

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

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

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

public int

Returns:

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

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

Inherited from sun.jvmstat.monitor.MonitoredVm:
addVmListenerclearLastExceptiondetachfindByNamefindByPatterngetIntervalgetLastExceptiongetVmIdentifierisErroredremoveVmListenersetIntervalsetLastException

Method Detail

getBytesback to summary
public byte[] getBytes()

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

Returns:byte[]

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

getCapacityback to summary
public int getCapacity()

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