sun.jvmstat.instrument.ByteArrayInstrument
Modifier and Type | Field and Description |
---|---|
pack-priv ByteBuffer | bb
The buffer containing the data for the byte array instrument. |
Access | Constructor and Description |
---|---|
public | PerfByteArrayMonitor(String
the name of the instrumentation object name, Units the units of measure attribute u, Variability the variability attribute v, boolean support level indicator supported, ByteBuffer the buffer containing the byte array instrument data bb, int the length of the vector. vectorLength)Constructor to create a ByteArrayMonitor for the byte array instrument represented by the data in the given buffer. |
Modifier and Type | Method and Description |
---|---|
public byte[] | Returns: byte[] - a copy of the current value of the elements of the byte array instrument.Implements sun. Get a copy of the elements of the byte array instrument. |
public byte | Returns: byte - a copy of the current value of the element at indexindex of the byte array instrument.Implements sun. Get the current value of an element of the byte array instrument. |
public int | Returns: int - the maximum length of the byte array.Get the maximum length of the byte array for this byte array instrument. |
public Object | Returns: Object - a copy of the current value of the elements of the byte array instrument. The return type is guaranteed to be of type byte[].Implements abstract sun. Implements sun. Return an Object that encapsulates this instrumentation object's current data value. |
bb | back to summary |
---|---|
pack-priv ByteBuffer bb The buffer containing the data for the byte array instrument. |
PerfByteArrayMonitor | back to summary |
---|---|
public PerfByteArrayMonitor(String name, Units u, Variability v, boolean supported, ByteBuffer bb, int vectorLength) Constructor to create a ByteArrayMonitor for the byte array instrument represented by the data in the given buffer.
|
byteArrayValue | back to summary |
---|---|
public byte[] byteArrayValue() Implements sun. Get a copy of the elements of the byte array instrument.
|
byteAt | back to summary |
---|---|
public byte byteAt(int index) Implements sun. Get the current value of an element of the byte array instrument.
|
getMaximumLength | back to summary |
---|---|
public int getMaximumLength() Get the maximum length of the byte array for this byte array instrument.
|
getValue | back to summary |
---|---|
public Object getValue() Implements abstract sun. Implements sun. Doc from sun. Return an Object that encapsulates this instrumentation object's current data value. The object returned contains a byte[] with a copy of the current elements of the ByteArrayInstrument.
|