Interface XSiteMetricsCollector

All Known Implementing Classes:
DefaultXSiteMetricsCollector, NoOpXSiteMetricsCollector

public interface XSiteMetricsCollector
Collects metrics about cross-site replication operations.
Since:
13.0
Author:
Pedro Ruivo
  • Method Details

    • sites

      Collection<String> sites()
    • 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()
    • registerTimer

      void registerTimer(String dstSite, TimerTracker timer)
    • registerTimer

      void registerTimer(TimerTracker timer)
    • recordRequestsReceived

      void recordRequestsReceived(String srcSite)
    • countRequestsReceived

      long countRequestsReceived(String srcSite)
    • countRequestsReceived

      long countRequestsReceived()
    • resetRequestReceived

      void resetRequestReceived()