public class

PerfIntegerMonitor

extends AbstractMonitor
implements IntegerMonitor
java.lang.Object
   ↳ sun.jvmstat.monitor.AbstractMonitor
     ↳ sun.jvmstat.perfdata.monitor.PerfIntegerMonitor

Class Overview

Class for monitoring a PerfData Integer instrument.

Summary

[Expand]
Inherited Fields
From class sun.jvmstat.monitor.AbstractMonitor
Public Constructors
PerfIntegerMonitor(String name, Units u, Variability v, boolean supported, IntBuffer ib)
Constructor to create an IntegerMonitor object for the integer instrument represented by the data in the given buffer.
Public Methods
Object getValue()
Return an Object that encapsulates this instrumentation object's current data value. The object returned contains an Integer object containing the current value of the IntegerInstrument.
int intValue()
Return the current value of the IntegerInstrument as an int.
[Expand]
Inherited Methods
From class sun.jvmstat.monitor.AbstractMonitor
From class java.lang.Object
From interface sun.jvmstat.monitor.IntegerMonitor
From interface sun.jvmstat.monitor.Monitor

Public Constructors

public PerfIntegerMonitor (String name, Units u, Variability v, boolean supported, IntBuffer ib)

Constructor to create an IntegerMonitor object for the integer instrument represented by the data in the given buffer.

Parameters
name the name of the integer instrument
u the units of measure attribute
v the variability attribute
supported support level indicator
ib the buffer containing the integer instrument data.

Public Methods

public Object getValue ()

Return an Object that encapsulates this instrumentation object's current data value. The object returned contains an Integer object containing the current value of the IntegerInstrument.

Returns
  • Object - the current value of the the IntegerInstrument. The return type is guaranteed to be of type Integer.

public int intValue ()

Return the current value of the IntegerInstrument as an int.

Returns
  • int - a the current value of the IntegerInstrument.