Interface Metrics

    • Method Detail

      • record

        Snapshot record​(long duration,
                        java.util.concurrent.TimeUnit durationUnit,
                        Metrics.Outcome outcome)
        Records a call.
        Parameters:
        duration - the duration of the call
        durationUnit - the time unit of the duration
        outcome - the outcome of the call
      • getSnapshot

        Snapshot getSnapshot()
        Returns a snapshot.
        Returns:
        a snapshot