Class ProfileData
java.lang.Object
org.tasktide.core.model.job_env.metrics.ProfileData
Holds a collection of
MetricData observed over a time-period,
for embedding into MetricProfile-
Constructor Summary
ConstructorsConstructorDescriptionNull constructorProfileData(String id, Map<String, MetricData> metricProfile) Construct with all args JSON-B SERDE -
Method Summary
Modifier and TypeMethodDescriptiongetId()Get profile idGet metric profilevoidJPA PostLoad method for populatingMetricDatavoidSet profile IdvoidsetMetricProfile(Map<String, MetricData> metricProfile) Set metric profiletoJson()Represent as JSON-B stringRepresent as JSON-B DocumenttoString()Represent as String
-
Constructor Details
-
ProfileData
public ProfileData()Null constructor -
ProfileData
Construct with all args JSON-B SERDE- Parameters:
id-metricProfile-
-
-
Method Details
-
populateStateMap
public void populateStateMap()JPA PostLoad method for populatingMetricData -
toJson
-
toJsonDoc
-
getId
-
setId
-
getMetricProfile
Get metric profile- Returns:
- Map-String,
MetricData
-
setMetricProfile
Set metric profile- Parameters:
metricProfile-
-
toString
-