Package com.tnsai.parser
Class RetryableParser.Builder<T>
java.lang.Object
com.tnsai.parser.RetryableParser.Builder<T>
- Enclosing class:
RetryableParser<T>
Builder for RetryableParser.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the retryable parser.maxRetries(int maxRetries) Sets the maximum number of retries.
-
Method Details
-
maxRetries
Sets the maximum number of retries.- Parameters:
maxRetries- max retry count (default 3)- Returns:
- this builder
-
build
Builds the retryable parser.- Returns:
- new parser
-