| Modifier and Type | Field and Description |
|---|---|
| private static Charset |
| Access | Constructor and Description |
|---|---|
| public | PerfStringMonitor(String
the name of the string instrument name, Variability the variability attribute v, boolean support level indicator supported, ByteBuffer the buffer containing the string instrument data. bb)Constructor to create a StringMonitor object for the string instrument represented by the data in the given buffer. |
| public | PerfStringMonitor(String
the name of the string instrument name, Variability the variability attribute v, boolean support level indicator supported, ByteBuffer the buffer containing the string instrument data. bb, int the maximum length of the string data. 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 |
|---|---|
| public Object | Returns: Object - a copy of the current value of the StringInstrument. The return value is guaranteed to be of type String.Overrides sun. Implements sun. Return an Object that encapsulates this instrumentation object's current data value. |
| public String | Returns: String - a copy of the current value of the StringInstrument.Implements sun. Return the current value of the StringInstrument as a String. |
| defaultCharset | back to summary |
|---|---|
| private static Charset defaultCharset | |
| PerfStringMonitor | back to summary |
|---|---|
| public 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 | back to summary |
|---|---|
| public 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.
| |
| getValue | back to summary |
|---|---|
| public Object getValue() Overrides sun. Implements sun. Doc from sun. Return an Object that encapsulates this instrumentation object's current data value. The object returned contains a String with a copy of the current value of the StringInstrument.
| |
| stringValue | back to summary |
|---|---|
| public String stringValue() Implements sun. Return the current value of the StringInstrument as a String.
| |