Interface MetricMessageHandler

    • 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.