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