Class HeartbeatFailureDetector.Stats

    • Constructor Detail

      • Stats

        public Stats​(URI uri)
    • Method Detail

      • recordStart

        public void recordStart()
      • recordSuccess

        public void recordSuccess()
      • recordFailure

        public void recordFailure​(Exception exception)
      • getAge

        public io.airlift.units.Duration getAge()
      • getUri

        public URI getUri()
      • getRecentFailures

        public double getRecentFailures()
      • getRecentSuccesses

        public double getRecentSuccesses()
      • getRecentRequests

        public double getRecentRequests()
      • getRecentFailureRatio

        public double getRecentFailureRatio()
      • getLastRequestTime

        public org.joda.time.DateTime getLastRequestTime()
      • getLastResponseTime

        public org.joda.time.DateTime getLastResponseTime()
      • getLastFailureException

        public Exception getLastFailureException()
      • getLastFailureInfo

        @Nullable
        public FailureInfo getLastFailureInfo()
      • getRecentFailuresByType

        public Map<String,​Double> getRecentFailuresByType()