Class DefaultRecord
java.lang.Object
com.arpnetworking.metrics.mad.model.DefaultRecord
- All Implemented Interfaces:
Record
Default implementation of the
Record
interface.
IMPORTANT: Instances are only hashed and compare based on their
identifier, and are considered interchangeable if their identifiers match
irregardless of their content.- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot io), Ville Koskela (ville dot koskela at inscopemetrics dot io), Ryan Ascheman (rascheman at groupon dot com)
-
Nested Class Summary
-
Method Summary
-
Method Details
-
getId
Description copied from interface:Record
Gets the unique identifier of the record. -
getTime
Description copied from interface:Record
Gets the time stamp of the record. -
getRequestTime
Description copied from interface:Record
Gets the "received at" time stamp of the record.- Specified by:
getRequestTime
in interfaceRecord
- Returns:
- the time stamp
-
getMetrics
Description copied from interface:Record
Gets metrics.- Specified by:
getMetrics
in interfaceRecord
- Returns:
- the metrics
-
getAnnotations
Description copied from interface:Record
Gets annotations.- Specified by:
getAnnotations
in interfaceRecord
- Returns:
- the annotations
-
getDimensions
Description copied from interface:Record
Gets dimensions.- Specified by:
getDimensions
in interfaceRecord
- Returns:
- the dimensions
-
equals
-
hashCode
public int hashCode() -
toString
-