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

pack-priv Class PerfDataType

extends Object
Class Inheritance
Static Imports
java.nio.charset.StandardCharsets.UTF_8

A typesafe enumeration for the data types supported for performance data.

The enumeration values for this typesafe enumeration must be kept in synchronization with the PerfDataType enum in the globalsDefinitions.hpp file in the HotSpot source base.

Author
Brian Doherty

Field Summary

Modifier and TypeField and Description
private static PerfDataType[]
public static final PerfDataType
public static final PerfDataType
public static final PerfDataType
public static final PerfDataType
public static final PerfDataType
public static final PerfDataType
public static final PerfDataType
public static final PerfDataType
private final String
public static final PerfDataType
private final int
private final byte

Constructor Summary

AccessConstructor and Description
private
PerfDataType(String name, String c, int size)

Method Summary

Modifier and TypeMethod and Description
public byte
public int
size()

public static PerfDataType

Returns:

The PerfDataType object for i
toPerfDataType
(byte type)

Maps an integer PerfDataType value to its corresponding PerfDataType object.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

basicTypesback to summary
private static PerfDataType[] basicTypes
BOOLEANback to summary
public static final PerfDataType BOOLEAN
BYTEback to summary
public static final PerfDataType BYTE
CHARback to summary
public static final PerfDataType CHAR
DOUBLEback to summary
public static final PerfDataType DOUBLE
FLOATback to summary
public static final PerfDataType FLOAT
ILLEGALback to summary
public static final PerfDataType ILLEGAL
INTback to summary
public static final PerfDataType INT
LONGback to summary
public static final PerfDataType LONG
nameback to summary
private final String name
SHORTback to summary
public static final PerfDataType SHORT
sizeback to summary
private final int size
valueback to summary
private final byte value

Constructor Detail

PerfDataTypeback to summary
private PerfDataType(String name, String c, int size)

Method Detail

byteValueback to summary
public byte byteValue()
sizeback to summary
public int size()
toPerfDataTypeback to summary
public static PerfDataType toPerfDataType(byte type)

Maps an integer PerfDataType value to its corresponding PerfDataType object.

Returns:PerfDataType

The PerfDataType object for i

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.