public interface

ByteArrayMonitor

implements Monitor
sun.jvmstat.monitor.ByteArrayMonitor
Known Indirect Subclasses

Class Overview

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.

See Also
  • sun.jvmstat.instrument.ByteArrayInstrument

Summary

Public Methods
abstract byte[] byteArrayValue()
Get a copy of the current values of the elements of the ByteArrayInstrument object.
abstract byte byteAt(int index)
Get the current value of an element of the ByteArrayInstrument object.
[Expand]
Inherited Methods
From interface sun.jvmstat.monitor.Monitor

Public Methods

public abstract 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.

public abstract 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.