@InterfaceAudience.Private public enum MsInfo extends Enum<MsInfo> implements MetricsInfo
Enum Constant and Description |
---|
Context |
Hostname |
NumActiveSinks |
NumActiveSources |
NumAllSinks |
NumAllSources |
ProcessName |
SessionId |
Modifier and Type | Method and Description |
---|---|
String |
description() |
String |
toString() |
static MsInfo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MsInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
name
public static final MsInfo NumActiveSources
public static final MsInfo NumAllSources
public static final MsInfo NumActiveSinks
public static final MsInfo NumAllSinks
public static final MsInfo Context
public static final MsInfo Hostname
public static final MsInfo SessionId
public static final MsInfo ProcessName
public static MsInfo[] values()
for (MsInfo c : MsInfo.values()) System.out.println(c);
public static MsInfo 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 String description()
description
in interface MetricsInfo
Copyright © 2013 Apache Software Foundation. All rights reserved.