Interface MetricMessageHandler

    • Method Detail

      • onMetricMessageReceived

        void onMetricMessageReceived​(String metricType,
                                     String metricId,
                                     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.