sun.jvmstat.perfdata.monitor
Class PerfStringVariableMonitor
java.lang.Object
sun.jvmstat.monitor.AbstractMonitor
sun.jvmstat.perfdata.monitor.PerfByteArrayMonitor
sun.jvmstat.perfdata.monitor.PerfStringMonitor
sun.jvmstat.perfdata.monitor.PerfStringVariableMonitor
- All Implemented Interfaces:
- ByteArrayMonitor, Monitor, StringMonitor
public class PerfStringVariableMonitor
- extends PerfStringMonitor
Class for monitoring a variable PerfData String instrument.
The current value of a variable string instrument changes over time.
- Since:
- 1.5
Constructor Summary |
PerfStringVariableMonitor(String name,
boolean supported,
ByteBuffer bb)
Constructor to create a StringMonitor object for the variable string
instrument represented by the data in the given buffer. |
PerfStringVariableMonitor(String name,
boolean supported,
ByteBuffer bb,
int maxLength)
Constructor to create a StringMonitor object for the variable
string instrument represented by the data in the given buffer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerfStringVariableMonitor
public PerfStringVariableMonitor(String name,
boolean supported,
ByteBuffer bb)
- Constructor to create a StringMonitor object for the variable string
instrument represented by the data in the given buffer.
- Parameters:
name
- the name of the string instrumentsupported
- support level indicatorbb
- the buffer containing the string instrument data.
PerfStringVariableMonitor
public PerfStringVariableMonitor(String name,
boolean supported,
ByteBuffer bb,
int maxLength)
- Constructor to create a StringMonitor object for the variable
string instrument represented by the data in the given buffer.
- Parameters:
name
- the name of the string instrumentbb
- the buffer containing the string instrument data.supported
- support level indicatormaxLength
- the maximum length of the string data.