|
Jvmstat | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsun.jvmstat.monitor.AbstractMonitor
sun.jvmstat.perfdata.monitor.PerfByteArrayMonitor
public class PerfByteArrayMonitor
Class for monitoring a PerfData Byte Array instrumentation object. This class is provided to support the PerfStringMonitor classes. Instrumentation objects of this direct type currently cannot be created or monitored.
sun.jvmstat.instrument.ByteArrayInstrument| Field Summary |
|---|
| Fields inherited from class sun.jvmstat.monitor.AbstractMonitor |
|---|
name, supported, units, variability, vectorLength |
| Constructor Summary | |
|---|---|
PerfByteArrayMonitor(String name,
sun.management.counter.Units u,
sun.management.counter.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. |
|
| Method Summary | |
|---|---|
byte[] |
byteArrayValue()
Get a copy of the elements of the byte array instrument. |
byte |
byteAt(int index)
Get the current value of an element of the byte array instrument. |
int |
getMaximumLength()
Get the maximum length of the byte array for this byte array instrument. |
Object |
getValue()
Return an Object that encapsulates this instrumentation object's current data value. |
| Methods inherited from class sun.jvmstat.monitor.AbstractMonitor |
|---|
getBaseName, getName, getUnits, getVariability, getVectorLength, isSupported, isVector |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface sun.jvmstat.monitor.Monitor |
|---|
getBaseName, getName, getUnits, getVariability, getVectorLength, isSupported, isVector |
| Constructor Detail |
|---|
public PerfByteArrayMonitor(String name,
sun.management.counter.Units u,
sun.management.counter.Variability v,
boolean supported,
ByteBuffer bb,
int vectorLength)
name - the name of the instrumentation objectu - the units of measure attributev - the variability attributesupported - support level indicatorbb - the buffer containing the byte array instrument datavectorLength - the length of the vector.| Method Detail |
|---|
public Object getValue()
getValue in interface MonitorgetValue in class AbstractMonitorpublic byte[] byteArrayValue()
byteArrayValue in interface ByteArrayMonitorpublic byte byteAt(int index)
byteAt in interface ByteArrayMonitorpublic int getMaximumLength()
|
Jvmstat | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||