public static enum AbstractGCEvent.GcPattern extends Enum<AbstractGCEvent.GcPattern>
GC: just the name of the event typePAUSE: length of a pauseDURATION: cycle time of a (usually concurrent) eventMEMORY: information about heap changesREGION: information about number of regions used (only G1 up to now)| Enum Constant and Description |
|---|
GC
"GC type" (just the name, no additional information)
|
GC_HEAP_MEMORY_PERCENTAGE
"Heap memory type" "memory current"("memory percentage")
|
GC_MEMORY
"GC type": "memory current"("memory total")
|
GC_MEMORY_PAUSE
"GC type": "memory before"->"memory after"("memory total"), "pause"
|
GC_MEMORY_PERCENTAGE
"Garbage Collection (Reason)" "memory before"("percentage of total")->"memory after"("percentage of total")
|
GC_PAUSE
"GC type": "pause"
|
GC_PAUSE_DURATION
"GC type": "pause"/"duration"
|
GC_REGION
"GC type": "# regions before"->"# regions after"[("#total regions")] ("total regions" is optional; needs a region size to calculate memory usage)
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractGCEvent.GcPattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractGCEvent.GcPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractGCEvent.GcPattern GC
public static final AbstractGCEvent.GcPattern GC_PAUSE
public static final AbstractGCEvent.GcPattern GC_PAUSE_DURATION
public static final AbstractGCEvent.GcPattern GC_MEMORY
public static final AbstractGCEvent.GcPattern GC_MEMORY_PAUSE
public static final AbstractGCEvent.GcPattern GC_REGION
public static final AbstractGCEvent.GcPattern GC_MEMORY_PERCENTAGE
public static final AbstractGCEvent.GcPattern GC_HEAP_MEMORY_PERCENTAGE
public static AbstractGCEvent.GcPattern[] values()
for (AbstractGCEvent.GcPattern c : AbstractGCEvent.GcPattern.values()) System.out.println(c);
public static AbstractGCEvent.GcPattern 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 nullCopyright © 2019. All rights reserved.