Package com.mindee
Class AsyncPollingOptions
- java.lang.Object
-
- com.mindee.AsyncPollingOptions
-
public final class AsyncPollingOptions extends Object
Options to pass for asynchronous parsing with polling.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAsyncPollingOptions.AsyncPollingOptionsBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AsyncPollingOptions.AsyncPollingOptionsBuilderbuilder()booleanequals(Object o)DoublegetInitialDelaySec()Wait this many seconds before the first polling attempt.DoublegetIntervalSec()Wait this many seconds between each polling attempt.IntegergetMaxRetries()Maximum number of times to poll.inthashCode()StringtoString()
-
-
-
Method Detail
-
builder
public static AsyncPollingOptions.AsyncPollingOptionsBuilder builder()
-
getInitialDelaySec
public Double getInitialDelaySec()
Wait this many seconds before the first polling attempt.
-
getIntervalSec
public Double getIntervalSec()
Wait this many seconds between each polling attempt.
-
getMaxRetries
public Integer getMaxRetries()
Maximum number of times to poll.
-
-