org.apache.solr.client.solrj.impl

Class SolrHttpRequestRetryHandler

  • java.lang.Object
    • org.apache.solr.client.solrj.impl.SolrHttpRequestRetryHandler
    • Constructor Detail

      • SolrHttpRequestRetryHandler

        protected SolrHttpRequestRetryHandler(int retryCount,
                                              Collection<Class<? extends IOException>> clazzes)
        Create the request retry handler using the specified IOException classes
        Parameters:
        retryCount - how many times to retry; 0 means no retries true if it's OK to retry requests that have been sent
        clazzes - the IOException types that should not be retried
      • SolrHttpRequestRetryHandler

        public SolrHttpRequestRetryHandler(int retryCount)
        Create the request retry handler using the following list of non-retriable IOException classes:
        • InterruptedIOException
        • UnknownHostException
        • ConnectException
        • SSLException
        Parameters:
        retryCount - how many times to retry; 0 means no retries true if it's OK to retry non-idempotent requests that have been sent
      • SolrHttpRequestRetryHandler

        public SolrHttpRequestRetryHandler()
        Create the request retry handler with a retry count of 3, requestSentRetryEnabled false and using the following list of non-retriable IOException classes:
        • InterruptedIOException
        • UnknownHostException
        • ConnectException
        • SSLException