@InterfaceAudience.Private public enum DefaultMetricsFactory extends Enum<DefaultMetricsFactory>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static MutableMetricsFactory |
getAnnotatedMetricsFactory() |
<T> T |
getInstance(Class<T> cls) |
void |
setInstance(MutableMetricsFactory factory) |
static DefaultMetricsFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultMetricsFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultMetricsFactory INSTANCE
public static DefaultMetricsFactory[] values()
for (DefaultMetricsFactory c : DefaultMetricsFactory.values()) System.out.println(c);
public static DefaultMetricsFactory 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 MutableMetricsFactory getAnnotatedMetricsFactory()
public <T> T getInstance(Class<T> cls)
public void setInstance(MutableMetricsFactory factory)
Copyright © 2013 Apache Software Foundation. All rights reserved.