
public class PerfStringMonitor extends PerfByteArrayMonitor implements StringMonitor
name, supported, units, variability, vectorLength| Constructor and Description |
|---|
PerfStringMonitor(String name,
Variability v,
boolean supported,
ByteBuffer bb)
Constructor to create a StringMonitor object for the string instrument
represented by the data in the given buffer.
|
PerfStringMonitor(String name,
Variability v,
boolean supported,
ByteBuffer bb,
int maxLength)
Constructor to create a StringMonitor object for the string instrument
represented by the data in the given buffer.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue()
Return an Object that encapsulates this instrumentation object's
current data value.
|
String |
stringValue()
Return the current value of the StringInstrument as a String.
|
byteArrayValue, byteAt, getMaximumLengthgetBaseName, getName, getUnits, getVariability, getVectorLength, isSupported, isVectorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBaseName, getName, getUnits, getVariability, getVectorLength, isSupported, isVectorpublic PerfStringMonitor(String name, Variability v, boolean supported, ByteBuffer bb)
name - the name of the string instrumentv - the variability attributesupported - support level indicatorbb - the buffer containing the string instrument data.public PerfStringMonitor(String name, Variability v, boolean supported, ByteBuffer bb, int maxLength)
name - the name of the string instrumentv - the variability attributesupported - support level indicatorbb - the buffer containing the string instrument data.maxLength - the maximum length of the string data.public Object getValue()
getValue in interface MonitorgetValue in class PerfByteArrayMonitorpublic String stringValue()
stringValue in interface StringMonitorCopyright © 2017–2018 earcam. All rights reserved.