public static enum BinaryHprof.Tag extends Enum<BinaryHprof.Tag>
| Enum Constant and Description |
|---|
ALLOC_SITES |
CONTROL_SETTINGS |
CPU_SAMPLES |
END_THREAD |
HEAP_DUMP |
HEAP_DUMP_END |
HEAP_DUMP_SEGMENT |
HEAP_SUMMARY |
LOAD_CLASS |
STACK_FRAME |
STACK_TRACE |
START_THREAD |
STRING_IN_UTF8 |
UNLOAD_CLASS |
| Modifier and Type | Field and Description |
|---|---|
int |
maximumSize
Maximum size in bytes.
|
int |
minimumSize
Minimum size in bytes.
|
byte |
tag |
| Modifier and Type | Method and Description |
|---|---|
String |
checkSize(int actual)
Returns null if the actual size meets expectations, or a
String error message if not.
|
static BinaryHprof.Tag |
get(byte tag) |
static BinaryHprof.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryHprof.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryHprof.Tag STRING_IN_UTF8
public static final BinaryHprof.Tag LOAD_CLASS
public static final BinaryHprof.Tag UNLOAD_CLASS
public static final BinaryHprof.Tag STACK_FRAME
public static final BinaryHprof.Tag STACK_TRACE
public static final BinaryHprof.Tag ALLOC_SITES
public static final BinaryHprof.Tag HEAP_SUMMARY
public static final BinaryHprof.Tag START_THREAD
public static final BinaryHprof.Tag END_THREAD
public static final BinaryHprof.Tag HEAP_DUMP
public static final BinaryHprof.Tag HEAP_DUMP_SEGMENT
public static final BinaryHprof.Tag HEAP_DUMP_END
public static final BinaryHprof.Tag CPU_SAMPLES
public static final BinaryHprof.Tag CONTROL_SETTINGS
public final byte tag
public final int minimumSize
public final int maximumSize
public static BinaryHprof.Tag[] values()
for (BinaryHprof.Tag c : BinaryHprof.Tag.values()) System.out.println(c);
public static BinaryHprof.Tag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static BinaryHprof.Tag get(byte tag)
public String checkSize(int actual)