Class MarshallerMetrics


  • public class MarshallerMetrics
    extends Object
    An immutable class representing collected metrics.
    Since:
    5.8
    • Constructor Detail

      • MarshallerMetrics

        public MarshallerMetrics​(MarshallerMetricsAccumulationKey accumulationKey,
                                 int executionCount,
                                 long cumulativeExecutionTimeNanos,
                                 long cumulativeStreamingTimeNanos,
                                 Map<String,​Long> customMetrics)
    • Method Detail

      • getExecutionCount

        public int getExecutionCount()
      • getCumulativeExecutionTimeNanos

        public long getCumulativeExecutionTimeNanos()
      • getCumulativeStreamingTimeNanos

        public long getCumulativeStreamingTimeNanos()
      • getCustomMetrics

        public @NonNull Map<String,​Long> getCustomMetrics()