Jvmstat

sun.jvmstat.perfdata.monitor
Class PerfStringVariableMonitor

java.lang.Object
  extended by sun.jvmstat.monitor.AbstractMonitor
      extended by sun.jvmstat.perfdata.monitor.PerfByteArrayMonitor
          extended by sun.jvmstat.perfdata.monitor.PerfStringMonitor
              extended by 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

Field Summary
 
Fields inherited from class sun.jvmstat.monitor.AbstractMonitor
name, supported, units, variability, vectorLength
 
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.
 
Method Summary
 
Methods inherited from class sun.jvmstat.perfdata.monitor.PerfStringMonitor
getValue, stringValue
 
Methods inherited from class sun.jvmstat.perfdata.monitor.PerfByteArrayMonitor
byteArrayValue, byteAt, getMaximumLength
 
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

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 instrument
supported - support level indicator
bb - 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 instrument
bb - the buffer containing the string instrument data.
supported - support level indicator
maxLength - the maximum length of the string data.

Jvmstat