code: public void noteRequestCompletion(ServerStats stats, Object response, Throwable e, long responseTime, RetryHandler errorHandler) {
      	if (stats == null) {
      		return;
      	}
          try {
              recordStats(stats, responseTime);
              RetryHandler callErrorHandler = errorHandler == null ? getRetryHandler() : errorHandler;
              if (callErrorHandler != null && response != null) {
                  stats.clearSuccessiveConnectionFailureCount();
              } else if (callErrorHandler != null && e != null) {
                  if (callErrorHandler.isCircuitTrippingException(e)) {
                      stats.incrementSuccessiveConnectionFailureCount();                    
                      stats.addToFailureCount();
                  } else {
                      stats.clearSuccessiveConnectionFailureCount();
                  }
              }
          } catch (Exception ex) {
              logger.error("Error noting stats for client {}", clientName, ex);
          }            
      }
docs: This is called after a response is received or an exception is thrown from the client
  to update related stats.