Class RequestStats


  • public class RequestStats
    extends Object
    • Method Detail

      • getLastRequestTimestampMillis

        public Long getLastRequestTimestampMillis()
        The last request timestamp in milliseconds
      • getAllCompletedCalls

        public Map<String,​Long> getAllCompletedCalls()
        Method name -> # of calls
      • getSuccessfulCalls

        public Map<String,​Long> getSuccessfulCalls()
        Method name -> # of calls
      • getUnsuccessfulCalls

        public Map<String,​Long> getUnsuccessfulCalls()
        Method name -> # of calls
      • getFailedCalls

        public Map<String,​Long> getFailedCalls()
        Method name -> # of calls
      • getCurrentQueueSize

        public Map<String,​Integer> getCurrentQueueSize()
        Method name -> The queue size
      • getLastMinuteRequests

        public Map<String,​Integer> getLastMinuteRequests()
        Method name -> The number of the requests in the last minute
      • getRateLimitedMethods

        public Map<String,​Long> getRateLimitedMethods()
        Method name -> Epoch millis to retry
      • setLastRequestTimestampMillis

        public void setLastRequestTimestampMillis​(Long lastRequestTimestampMillis)
        The last request timestamp in milliseconds
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object