public static enum LatencyStats.Granularity extends Enum<LatencyStats.Granularity>
Modifier and Type | Method and Description |
---|---|
static LatencyStats.Granularity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LatencyStats.Granularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LatencyStats.Granularity SINGLE
public static final LatencyStats.Granularity OPERATOR
public static final LatencyStats.Granularity SUBTASK
public static LatencyStats.Granularity[] values()
for (LatencyStats.Granularity c : LatencyStats.Granularity.values()) System.out.println(c);
public static LatencyStats.Granularity 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 © 2014–2021 The Apache Software Foundation. All rights reserved.