protected void recordFailureMetrics(PolicyFailure failure) {
        requestMetric.setResponseCode(failure.getResponseCode());
        requestMetric.setFailure(true);
        requestMetric.setFailureCode(failure.getFailureCode());
        requestMetric.setFailureReason(failure.getMessage());
    }
protected void recordFailureMetrics ( PolicyFailure failure ) { requestMetric . setResponseCode ( failure . getResponseCode ( ) ) ; requestMetric . setFailure ( true ) ; requestMetric . setFailureCode ( failure . getFailureCode ( ) ) ; requestMetric . setFailureReason ( failure . getMessage ( ) ) ; }
Record failure metrics