public enum LlapMetricsSystem extends Enum<LlapMetricsSystem>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.metrics2.MetricsSystem |
initialize(String prefix)
Convenience method to initialize the metrics system
|
static org.apache.hadoop.metrics2.MetricsSystem |
instance() |
static void |
shutdown()
Shutdown the metrics system
|
static LlapMetricsSystem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LlapMetricsSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LlapMetricsSystem INSTANCE
public static LlapMetricsSystem[] values()
for (LlapMetricsSystem c : LlapMetricsSystem.values()) System.out.println(c);
public static LlapMetricsSystem 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 static org.apache.hadoop.metrics2.MetricsSystem initialize(String prefix)
prefix
- for the metrics system configurationpublic static org.apache.hadoop.metrics2.MetricsSystem instance()
public static void shutdown()
Copyright © 2016 The Apache Software Foundation. All rights reserved.