| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | data
The cached value of the string instrument. |
| Access | Constructor and Description |
|---|---|
| public | PerfStringConstantMonitor(String
the name of the instrumentation object name, boolean support level indicator supported, ByteBuffer the buffer containing the string instrument data bb)Constructor to create a StringMonitor object for the constant string instrument object represented by the data in the given buffer. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getValue()
Overrides sun. Implements sun. Return an Object that encapsulates this instrumentation object's current data value. |
| public String | stringValue()
Overrides sun. Implements sun. Return the current value of the StringInstrument as a String. |
| data | back to summary |
|---|---|
| pack-priv String data The cached value of the string instrument. | |
| PerfStringConstantMonitor | back to summary |
|---|---|
| public PerfStringConstantMonitor(String name, boolean supported, ByteBuffer bb) Constructor to create a StringMonitor object for the constant string instrument object 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() Overrides sun. Implements sun. Doc from sun. Return the current value of the StringInstrument as a String. | |