public static enum ResourceLeakDetector.Level extends Enum<ResourceLeakDetector.Level>
Enum Constant and Description |
---|
ADVANCED
Enables advanced sampling resource leak detection which reports where the leaked object was accessed
recently at the cost of high overhead.
|
DISABLED
Disables resource leak detection.
|
PARANOID
Enables paranoid resource leak detection which reports where the leaked object was accessed recently,
at the cost of the highest possible overhead (for testing purposes only).
|
SIMPLE
Enables simplistic sampling resource leak detection which reports there is a leak or not,
at the cost of small overhead (default).
|
Modifier and Type | Method and Description |
---|---|
static ResourceLeakDetector.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceLeakDetector.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceLeakDetector.Level DISABLED
public static final ResourceLeakDetector.Level SIMPLE
public static final ResourceLeakDetector.Level ADVANCED
public static final ResourceLeakDetector.Level PARANOID
public static ResourceLeakDetector.Level[] values()
for (ResourceLeakDetector.Level c : ResourceLeakDetector.Level.values()) System.out.println(c);
public static ResourceLeakDetector.Level 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 © 2008–2017 The Netty Project. All rights reserved.