public static enum NettyProperties.LeakDetection extends Enum<NettyProperties.LeakDetection>
Enum Constant and Description |
---|
ADVANCED
Detect leaks for 1% of buffers and track where they were accessed.
|
DISABLED
Disable leak detection completely.
|
PARANOID
Detect leaks for 100% of buffers and track where they were accessed.
|
SIMPLE
Detect leaks for 1% of buffers.
|
Modifier and Type | Method and Description |
---|---|
static NettyProperties.LeakDetection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NettyProperties.LeakDetection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NettyProperties.LeakDetection DISABLED
public static final NettyProperties.LeakDetection SIMPLE
public static final NettyProperties.LeakDetection ADVANCED
public static final NettyProperties.LeakDetection PARANOID
public static NettyProperties.LeakDetection[] values()
for (NettyProperties.LeakDetection c : NettyProperties.LeakDetection.values()) System.out.println(c);
public static NettyProperties.LeakDetection 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 null