Interface CallStatisticsCollector


  • public interface CallStatisticsCollector
    If you use ServiceInstanceWithStatGathering, use an implementation of this class interface for actually collecting information about calls made
    • Method Detail

      • storeResult

        void storeResult​(long id,
                         long time,
                         Throwable error)
        invoked by ServiceInstanceWithStatGathering when a call is finished
        Parameters:
        id - call identifier
        time - time that a call took
        error - if the call failed, the error it failed with