public interface

Monitor

sun.jvmstat.monitor.Monitor
Known Indirect Subclasses

Class Overview

Interface provided by Instrumentation Monitoring Objects.

Summary

Public Methods
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 Methods

public abstract String getBaseName ()

Returns the base name of this instrumentation object. The base name is the component of the name following the last "." character in the name.

Returns
  • String - the base name of the name assigned to this instrumentation monitoring object.

public abstract String getName ()

Returns the name of this instrumentation object.

Returns
  • String - the name assigned to this instrumentation monitoring object

public abstract Units getUnits ()

Returns the Units for this instrumentation monitoring object.

Returns
  • Units - the units of measure attribute

public abstract Object getValue ()

Return an Object that encapsulates this instrumentation object's current data value.

public abstract Variability getVariability ()

Returns the Variability for this instrumentation object.

Returns
  • Variability - the variability attribute

public abstract int getVectorLength ()

Return the length of the vector.

Returns
  • int - the length of the vector or zero if this instrumentation object is a scalar type.

public abstract boolean isSupported ()

Test if the instrumentation object is supported.

public abstract boolean isVector ()

Test if the instrumentation object is a vector type.

Returns
  • boolean - true if this instrumentation object is a vector type, false otherwise.