public enum StatsLevel extends Enum<StatsLevel>
| Enum Constant and Description |
|---|
ALL
Collect all stats, including measuring duration of mutex operations.
|
EXCEPT_DETAILED_TIMERS
Collect all stats except time inside mutex lock AND time spent on
compression.
|
EXCEPT_TIME_FOR_MUTEX
Collect all stats except the counters requiring to get time inside the
mutex lock.
|
| Modifier and Type | Method and Description |
|---|---|
static StatsLevel |
getStatsLevel(byte value)
Get StatsLevel by byte value.
|
byte |
getValue()
Returns the byte value of the enumerations value.
|
static StatsLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatsLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatsLevel EXCEPT_DETAILED_TIMERS
public static final StatsLevel EXCEPT_TIME_FOR_MUTEX
public static final StatsLevel ALL
public static StatsLevel[] values()
for (StatsLevel c : StatsLevel.values()) System.out.println(c);
public static StatsLevel 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 nullpublic byte getValue()
Returns the byte value of the enumerations value.
public static StatsLevel getStatsLevel(byte value)
value - byte representation of StatsLevel.StatsLevel instance.IllegalArgumentException - if an invalid
value is provided.Copyright © 2022. All rights reserved.