java.io.Serializable, java.lang.Comparable<MsInfo>, MetricsInfo@Private public enum MsInfo extends java.lang.Enum<MsInfo> implements MetricsInfo
| Enum Constant | Description |
|---|---|
Context |
|
Hostname |
|
NumActiveSinks |
|
NumActiveSources |
|
NumAllSinks |
|
NumAllSources |
|
ProcessName |
|
SessionId |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
description() |
Typically the description corresponds to annotation
Metric.about()
or the name of the class. |
java.lang.String |
toString() |
|
static MsInfo |
valueOf(java.lang.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, valueOfnamepublic 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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String description()
MetricsInfoMetric.about()
or the name of the class.description in interface MetricsInfopublic java.lang.String toString()
toString in class java.lang.Enum<MsInfo>Copyright © 2008–2025 Apache Software Foundation. All rights reserved.