public class UidMetricDescriptor extends Object
MetricDescriptor
with a metric identifier.Constructor and Description |
---|
UidMetricDescriptor(MetricDescriptor descriptor,
String uid)
Creates a new
UidMetricDescriptor using the current time. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object toCompare) |
MetricDescriptor |
getDescriptor()
Gets the
MetricDescriptor . |
String |
getUid()
Gets the metric identifier.
|
int |
hashCode() |
String |
toDebugString()
Gets a detailed representation of this object to facilitate debugging.
|
String |
toString() |
public UidMetricDescriptor(MetricDescriptor descriptor, String uid)
UidMetricDescriptor
using the current time.descriptor
- the MetricDescriptor
to associate with a time
stampuid
- the metric identifier associated with this metric descriptorIllegalArgumentException
- if a null MetricDescriptor
is
suppliedpublic MetricDescriptor getDescriptor()
MetricDescriptor
.public String getUid()
public String toDebugString()
Copyright © 2016. All Rights Reserved.