Class Overview
Class for monitoring a PerfData Integer instrument.
Summary
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
String
|
getBaseName()
Returns the base name of this instrumentation object.
|
String
|
getName()
Returns the name of this instrumentation object.
|
Units
|
getUnits()
Returns the Units for this instrumentation monitoring object.
|
abstract
Object
|
getValue()
Return an Object that encapsulates this instrumentation object's
current data value.
|
Variability
|
getVariability()
Returns the Variability for this instrumentation object.
|
int
|
getVectorLength()
Return the length of the vector.
|
boolean
|
isSupported()
Test if the instrumentation object is supported.
|
boolean
|
isVector()
Test if the instrumentation object is a vector type.
|
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
From interface
sun.jvmstat.monitor.IntegerMonitor
abstract
int
|
intValue()
Get the value of this Integer Instrumentation Object
return int - the current value of this instrumentation object
|
|
From interface
sun.jvmstat.monitor.Monitor
abstract
String
|
getBaseName()
Returns the base name of this instrumentation object.
|
abstract
String
|
getName()
Returns the name of this instrumentation object.
|
abstract
Units
|
getUnits()
Returns the Units for this instrumentation monitoring object.
|
abstract
Object
|
getValue()
Return an Object that encapsulates this instrumentation object's
current data value.
|
abstract
Variability
|
getVariability()
Returns the Variability for this instrumentation object.
|
abstract
int
|
getVectorLength()
Return the length of the vector.
|
abstract
boolean
|
isSupported()
Test if the instrumentation object is supported.
|
abstract
boolean
|
isVector()
Test if the instrumentation object is a vector type.
|
|
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.