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

pack-priv Class ByteArrayCounterSnapshot

extends AbstractCounter
implements ByteArrayCounter
Class Inheritance
All Implemented Interfaces
sun.management.counter.ByteArrayCounter, 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 byte[]

Constructor Summary

AccessConstructor and Description
pack-priv
ByteArrayCounterSnapshot(String name, Units u, Variability v, int flags, int vectorLength, byte[] value)

Method Summary

Modifier and TypeMethod and Description
public byte[]
byteArrayValue()

Implements sun.management.counter.ByteArrayCounter.byteArrayValue.

Get a copy of the elements of the ByteArrayCounter.

public byte
byteAt(int index)

Implements sun.management.counter.ByteArrayCounter.byteAt.

Get the value of an element of the ByteArrayCounter object.

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

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 byte[] value

Constructor Detail

ByteArrayCounterSnapshotback to summary
pack-priv ByteArrayCounterSnapshot(String name, Units u, Variability v, int flags, int vectorLength, byte[] value)

Method Detail

byteArrayValueback to summary
public byte[] byteArrayValue()

Implements sun.management.counter.ByteArrayCounter.byteArrayValue.

Doc from sun.management.counter.ByteArrayCounter.byteArrayValue.

Get a copy of the elements of the ByteArrayCounter.

byteAtback to summary
public byte byteAt(int index)

Implements sun.management.counter.ByteArrayCounter.byteAt.

Doc from sun.management.counter.ByteArrayCounter.byteAt.

Get the value of an element of the ByteArrayCounter object.

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