Package org.apache.beam.sdk.io.solr
Class SolrIO.RetryConfiguration
java.lang.Object
org.apache.beam.sdk.io.solr.SolrIO.RetryConfiguration
- All Implemented Interfaces:
Serializable
- Enclosing class:
SolrIO
A POJO encapsulating a configuration for retry behavior when issuing requests to Solr. A retry
will be attempted until the maxAttempts or maxDuration is exceeded, whichever comes first, for
any of the following exceptions:
IOException
SolrServerException
SolrException
where theSolrException.ErrorCode
is one of:SolrException.ErrorCode.CONFLICT
SolrException.ErrorCode.SERVER_ERROR
SolrException.ErrorCode.SERVICE_UNAVAILABLE
SolrException.ErrorCode.INVALID_STATE
SolrException.ErrorCode.UNKNOWN
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RetryConfiguration
public RetryConfiguration()
-
-
Method Details
-
create
-