Hystrix: Latency and Fault Tolerance for Distributed Systems



com.netflix.hystrix
Class HystrixCommandMetrics.HealthCounts

java.lang.Object
  extended by com.netflix.hystrix.HystrixCommandMetrics.HealthCounts
Enclosing class:
HystrixCommandMetrics

public static class HystrixCommandMetrics.HealthCounts
extends java.lang.Object

Number of requests during rolling window. Number that failed (failure + success + timeout + threadPoolRejected + shortCircuited + semaphoreRejected). Error percentage;


Method Summary
 long getErrorCount()
           
 int getErrorPercentage()
           
 long getTotalRequests()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTotalRequests

public long getTotalRequests()

getErrorCount

public long getErrorCount()

getErrorPercentage

public int getErrorPercentage()