Class DeserializingConnectionCallback

    • Method Detail

      • getValueAndReset

        public Object getValueAndReset()
        Returns serialized byte count traffic metrics.
        Specified by:
        getValueAndReset in interface IMetric
        Returns:
        Map of metric counts, or null if disabled
      • updateMetrics

        protected void updateMetrics​(int sourceTaskId,
                                     TaskMessage message)
        Update serialized byte counts for each message.
        Parameters:
        sourceTaskId - source task
        message - serialized message