APIdia Launch Partner
Top Description Methods
sun.management.counter

public Interface Counter

extends Serializable
Known Direct Subinterfaces
sun.management.counter.LongArrayCounter, sun.management.counter.LongCounter, sun.management.counter.StringCounter, sun.management.counter.ByteArrayCounter
Known Direct Implementers
sun.management.counter.AbstractCounter

The base class for a performance counter.
Author
Brian Doherty

Method Summary

Modifier and TypeMethod and Description
public int
getFlags()

Return the flags associated with the counter.

public String
getName()

Returns the name of this performance counter

public Units
getUnits()

Returns the Units for this performance counter

public Object
getValue()

Returns an Object that encapsulates the data value of this counter

public Variability
getVariability()

Returns the Variability for this performance counter

public int
getVectorLength()

Returns the length of the vector

public boolean
isInternal()

Returns true if this counter is an internal counter.

public boolean
isVector()

Returns true if this performance counter is a vector

Method Detail

getFlagsback to summary
public int getFlags()

Return the flags associated with the counter.

getNameback to summary
public String getName()

Returns the name of this performance counter

getUnitsback to summary
public Units getUnits()

Returns the Units for this performance counter

getValueback to summary
public Object getValue()

Returns an Object that encapsulates the data value of this counter

getVariabilityback to summary
public Variability getVariability()

Returns the Variability for this performance counter

getVectorLengthback to summary
public int getVectorLength()

Returns the length of the vector

isInternalback to summary
public boolean isInternal()

Returns true if this counter is an internal counter.

isVectorback to summary
public boolean isVector()

Returns true if this performance counter is a vector