Interface MetricMessageHandler
-
- All Known Implementing Classes:
MetricManagerMaster
@DefaultImplementation(MetricManagerMaster.class) public interface MetricMessageHandler
Metric message handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onMetricMessageReceived(java.lang.String metricType, java.lang.String metricId, java.lang.String metricField, byte[] metricValue)
Handle the received metric message.void
terminate()
Cleans up and terminates this handler.
-
-
-
Method Detail
-
onMetricMessageReceived
void onMetricMessageReceived(java.lang.String metricType, java.lang.String metricId, java.lang.String metricField, byte[] metricValue)
Handle the received metric message.- Parameters:
metricType
- a given type for the metric (ex. TaskMetric).metricId
- id of the metric.metricField
- field name of the metric.metricValue
- serialized metric data value.
-
terminate
void terminate()
Cleans up and terminates this handler.
-
-