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

public Class PerfLongCounter

extends AbstractCounter
implements LongCounter
Class Inheritance
All Implemented Interfaces
sun.management.counter.LongCounter, sun.management.counter.Counter, java.io.Serializable
Imports
sun.management.counter.*, java.nio.LongBuffer, .ReadOnlyBufferException

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv
PerfLongCounter(String name, Units u, Variability v, int flags, LongBuffer lb)

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 long
longValue()

Implements sun.management.counter.LongCounter.longValue.

Get the value of this Long performance counter

protected Object
writeReplace()

Serialize as a snapshot object.

Inherited from sun.management.counter.AbstractCounter:
getFlagsgetNamegetUnitsgetVariabilitygetVectorLengthisInternalisVectortoString

Field Detail

lbback to summary
pack-priv LongBuffer lb
Annotations
@SuppressWarnings:serial
serialVersionUIDback to summary
private static final long serialVersionUID

Hides sun.management.counter.AbstractCounter.serialVersionUID.

Constructor Detail

PerfLongCounterback to summary
pack-priv PerfLongCounter(String name, Units u, Variability v, int flags, LongBuffer lb)

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

longValueback to summary
public long longValue()

Implements sun.management.counter.LongCounter.longValue.

Get the value of this Long performance counter

writeReplaceback to summary
protected Object writeReplace() throws ObjectStreamException

Serialize as a snapshot object.