@Override
public void onRetryWriteException(List<Object> items, Exception ex) throws Exception {
for (Iterator<RetryWriteListener> iterator = listeners.reverse(); iterator.hasNext();) {
RetryWriteListener listener = iterator.next();
listener.onRetryWriteException(items, ex);
}
}
}