Package com.arpnetworking.tsdcore.model
Class AggregatedData
java.lang.Object
com.arpnetworking.tsdcore.model.AggregatedData
- All Implemented Interfaces:
Serializable
Serves as a data class for storing data for aggregated values after
computation.
- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot com)
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FQDSN
createFQDSN
(AggregatedData data) Create a fully qualified data space name (FQDSN).static FQSN
createFQSN
(AggregatedData data) Create a fully qualified statistic name (FQSN).boolean
getFQDSN()
getHost()
Deprecated.Migrate to PeriodicData.Deprecated.Migrate to PeriodicData.Deprecated.Migrate to PeriodicData.long
getStart()
Deprecated.Migrate to PeriodicData.getValue()
int
hashCode()
boolean
Generate a Steno log compatible representation.toString()
-
Method Details
-
getFQDSN
-
getPeriod
Deprecated.Migrate to PeriodicData.- Returns:
- Period.
-
getHost
Deprecated.Migrate to PeriodicData.- Returns:
- Host.
-
getPeriodStart
Deprecated.Migrate to PeriodicData.- Returns:
- Period Start.
-
getStart
Deprecated.Migrate to PeriodicData.- Returns:
- Period Start.
-
isSpecified
public boolean isSpecified() -
getValue
-
getSamples
-
getPopulationSize
public long getPopulationSize() -
getSupportingData
-
createFQSN
Create a fully qualified statistic name (FQSN).- Parameters:
data
- TheAggregatedData
instance.- Returns:
- The FQSN.
-
createFQDSN
Create a fully qualified data space name (FQDSN).- Parameters:
data
- TheAggregatedData
instance.- Returns:
- The FQDSN.
-
equals
-
hashCode
public int hashCode() -
toString
-
toLogValue
Generate a Steno log compatible representation. NOTE: This class is not marked @Loggable due to the potentially large number of samples in the _samples field. Using @Loggable would cause them all to be serialized and in the past has caused significant performance problems.- Returns:
- Steno log compatible representation.
-