public abstract class MetricKey
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
MetricKey() |
Modifier and Type | Method and Description |
---|---|
static MetricKey |
create(@Nullable java.lang.String stepName,
MetricName metricName) |
abstract MetricName |
metricName()
The name of the metric.
|
abstract @Nullable java.lang.String |
stepName()
The step name that is associated with this metric or Null if none is associated.
|
java.lang.String |
toString() |
public abstract @Nullable java.lang.String stepName()
public abstract MetricName metricName()
public final java.lang.String toString()
toString
in class java.lang.Object
public static MetricKey create(@Nullable java.lang.String stepName, MetricName metricName)