public static enum AbstractGCEvent.CollectionType extends Enum<AbstractGCEvent.CollectionType>
| Enum Constant and Description |
|---|
COLLECTION
plain GC pause collection garbage
|
CONCURRENCY_HELPER
stop the world pause but used to prepare concurrent collection, might not collect garbage
|
VM_OPERATION
Not really a collection, but some other event that stops the vm.
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractGCEvent.CollectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractGCEvent.CollectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractGCEvent.CollectionType COLLECTION
public static final AbstractGCEvent.CollectionType VM_OPERATION
public static final AbstractGCEvent.CollectionType CONCURRENCY_HELPER
public static AbstractGCEvent.CollectionType[] values()
for (AbstractGCEvent.CollectionType c : AbstractGCEvent.CollectionType.values()) System.out.println(c);
public static AbstractGCEvent.CollectionType 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.