Package com.mindee.clientoptions
Class BasePollingOptions
- java.lang.Object
-
- com.mindee.clientoptions.BasePollingOptions
-
- Direct Known Subclasses:
PollingOptions,PollingOptions
public abstract class BasePollingOptions extends Object
Options to pass for asynchronous parsing with polling.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBasePollingOptions(Double initialDelaySec, Double intervalSec, Integer maxRetries, double defaultInitialDelaySec, double defaultIntervalSec, int defaultMaxRetries, double minInitialDelaySec, double minIntervalSec, int minMaxRetries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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.
-
-