Jvmstat

sun.jvmstat.monitor
Interface ByteArrayMonitor

All Superinterfaces:
Monitor
All Known Implementing Classes:
PerfByteArrayMonitor, PerfStringConstantMonitor, PerfStringMonitor, PerfStringVariableMonitor

public interface ByteArrayMonitor
extends Monitor

Interface for Monitoring ByteArrayInstrument objects. This interface is provided to support the StringMonitor interface. No instrumentation objects of this direct type can currently be created or monitored.

Since:
1.5
See Also:
sun.jvmstat.instrument.ByteArrayInstrument

Method Summary
 byte[] byteArrayValue()
          Get a copy of the current values of the elements of the ByteArrayInstrument object.
 byte byteAt(int index)
          Get the current value of an element of the ByteArrayInstrument object.
 
Methods inherited from interface sun.jvmstat.monitor.Monitor
getBaseName, getName, getUnits, getValue, getVariability, getVectorLength, isSupported, isVector
 

Method Detail

byteArrayValue

byte[] byteArrayValue()
Get a copy of the current values of the elements of the ByteArrayInstrument object.

Returns:
byte[] - a copy of the bytes in the associated instrumenattion object.

byteAt

byte byteAt(int index)
Get the current value of an element of the ByteArrayInstrument object.

Returns:
byte - the byte value at the specified index in the associated instrumentation object.

Jvmstat