public static enum ThreadLeakGroup.Group extends java.lang.Enum<ThreadLeakGroup.Group>
| Enum Constant and Description |
|---|
ALL
All JVM threads will be tracked.
|
MAIN
The "main" thread group and descendants will be tracked.
|
TESTGROUP
Only per-suite test group and descendants will be tracked.
|
| Modifier and Type | Method and Description |
|---|---|
static ThreadLeakGroup.Group |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadLeakGroup.Group[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadLeakGroup.Group ALL
WARNING: This option will not work
on IBM J9 because of livelock bugs in Thread.getAllStackTraces().
public static final ThreadLeakGroup.Group MAIN
public static final ThreadLeakGroup.Group TESTGROUP
public static ThreadLeakGroup.Group[] values()
for (ThreadLeakGroup.Group c : ThreadLeakGroup.Group.values()) System.out.println(c);
public static ThreadLeakGroup.Group valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2011–2018 Carrot Search s.c.. All rights reserved.