Interface CallTracker

    • Field Detail

      • GENERIC_EXCEPTION

        static final java.lang.Exception GENERIC_EXCEPTION
    • Method Detail

      • startCall

        @Nonnull
        @CheckReturnValue
        default CallCompletion startCall()
      • startCall

        @Nonnull
        @CheckReturnValue
        CallCompletion startCall​(@Nonnegative
                                 long startTimeNanos)
      • trackCall

        default void trackCall​(long duration)
      • trackCall

        default void trackCall​(long duration,
                               @Nonnull
                               java.util.concurrent.TimeUnit timeUnit)
      • trackCallWithError

        default void trackCallWithError​(long duration)
      • trackCallWithError

        default void trackCallWithError​(long duration,
                                        @Nonnull
                                        java.util.concurrent.TimeUnit timeUnit)
      • trackCallWithError

        default void trackCallWithError​(long duration,
                                        java.lang.Throwable throwable)
      • trackCallWithError

        void trackCallWithError​(long duration,
                                @Nonnull
                                java.util.concurrent.TimeUnit timeUnit,
                                java.lang.Throwable throwable)
      • getCurrentStartCountTotal

        long getCurrentStartCountTotal()
      • getCurrentCallCountTotal

        long getCurrentCallCountTotal()
      • getCurrentErrorCountTotal

        long getCurrentErrorCountTotal()
      • getCurrentConcurrency

        int getCurrentConcurrency()
      • getAverageConcurrency

        @Nonnull
        @CheckReturnValue
        double[] getAverageConcurrency()
      • getMaxConcurrency

        @Nonnull
        @CheckReturnValue
        int[] getMaxConcurrency()
      • getStartFrequency

        @Nonnull
        @CheckReturnValue
        int[] getStartFrequency()
      • getStartCount

        @Nonnull
        @CheckReturnValue
        long[] getStartCount()
      • getErrorFrequency

        @Nonnull
        @CheckReturnValue
        int[] getErrorFrequency()
      • getErrorCount

        @Nonnull
        @CheckReturnValue
        long[] getErrorCount()
      • reset

        void reset()
      • getLastResetTime

        long getLastResetTime()
      • getTimeSinceLastStartCall

        long getTimeSinceLastStartCall()