APIdia Launch Partner
Top Description Fields Constructors Methods
sun.management.counter.perf

pack-priv Class StringCounterSnapshot

extends AbstractCounter
implements StringCounter
Class Inheritance
All Implemented Interfaces
sun.management.counter.StringCounter, sun.management.counter.Counter, java.io.Serializable
Imports
sun.management.counter.*

A snapshot of the perf counter for serialization.

Field Summary

Modifier and TypeField and Description
private static final long
pack-priv String

Constructor Summary

AccessConstructor and Description
pack-priv
StringCounterSnapshot(String name, Units u, Variability v, int flags, String value)

Method Summary

Modifier and TypeMethod and Description
public Object
getValue()

Implements abstract sun.management.counter.AbstractCounter.getValue.

Implements sun.management.counter.Counter.getValue.

Returns an Object that encapsulates the data value of this counter

public String
stringValue()

Implements sun.management.counter.StringCounter.stringValue.

Get a copy of the value of the StringCounter.

Inherited from sun.management.counter.AbstractCounter:
getFlagsgetNamegetUnitsgetVariabilitygetVectorLengthisInternalisVectortoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides sun.management.counter.AbstractCounter.serialVersionUID.

valueback to summary
pack-priv String value

Constructor Detail

StringCounterSnapshotback to summary
pack-priv StringCounterSnapshot(String name, Units u, Variability v, int flags, String value)

Method Detail

getValueback to summary
public Object getValue()

Implements abstract sun.management.counter.AbstractCounter.getValue.

Implements sun.management.counter.Counter.getValue.

Doc from sun.management.counter.Counter.getValue.

Returns an Object that encapsulates the data value of this counter

stringValueback to summary
public String stringValue()

Implements sun.management.counter.StringCounter.stringValue.

Doc from sun.management.counter.StringCounter.stringValue.

Get a copy of the value of the StringCounter.