Open
Description
Description
In RestClient.performRequest if a exception happen when call CloseableHttpAsyncClient.execute, FailureListener.onFailure called with the node performRequest, then retry next node。
But for response time sensitive application, we don't want to retry for some exception(ie: socket timeout exception), so i think we should add a method for FailureListener.
public void onFailure(Node node, Exception e) throw Exception {}
Let the user decide retry or not