Interface XSiteMetricsCollector

    • Method Detail

      • recordRequestSent

        void recordRequestSent​(String dstSite,
                               long duration,
                               TimeUnit timeUnit)
      • getMinRequestSentDuration

        long getMinRequestSentDuration​(String dstSite,
                                       long defaultValue,
                                       TimeUnit outTimeUnit)
      • getMinRequestSentDuration

        long getMinRequestSentDuration​(long defaultValue,
                                       TimeUnit outTimeUnit)
      • getMaxRequestSentDuration

        long getMaxRequestSentDuration​(String dstSite,
                                       long defaultValue,
                                       TimeUnit outTimeUnit)
      • getMaxRequestSentDuration

        long getMaxRequestSentDuration​(long defaultValue,
                                       TimeUnit outTimeUnit)
      • getAvgRequestSentDuration

        long getAvgRequestSentDuration​(String dstSite,
                                       long defaultValue,
                                       TimeUnit outTimeUnit)
      • getAvgRequestSentDuration

        long getAvgRequestSentDuration​(long defaultValue,
                                       TimeUnit outTimeUnit)
      • countRequestsSent

        long countRequestsSent​(String dstSite)
      • countRequestsSent

        long countRequestsSent()
      • resetRequestsSent

        void resetRequestsSent()
      • recordRequestsReceived

        void recordRequestsReceived​(String srcSite)
      • countRequestsReceived

        long countRequestsReceived​(String srcSite)
      • countRequestsReceived

        long countRequestsReceived()
      • resetRequestReceived

        void resetRequestReceived()