| 程序包 | 说明 |
|---|---|
| com.dyngr |
| 限定符和类型 | 方法和说明 |
|---|---|
static Polling.PollingOptions |
Polling.stopAfterAttempt(int attemptNumber)
Stops after N failed attempts.
|
Polling.PollingOptions |
Polling.PollingOptions.stopAfterAttempt(int attemptNumber)
Stops after N failed attempts.
|
static Polling.PollingOptions |
Polling.stopAfterDelay(long duration,
TimeUnit timeUnit)
Stops after a given delay.
|
Polling.PollingOptions |
Polling.PollingOptions.stopAfterDelay(long duration,
TimeUnit timeUnit)
Stops after a given delay.
|
Polling.PollingOptions |
Polling.PollingOptions.stopIfException(boolean stopIfException)
Should poller stop when an exception is thrown.
|
static Polling.PollingOptions |
Polling.waitPeriodly(long sleepTime,
TimeUnit timeUnit)
Waits with a fixed interval.
|
Polling.PollingOptions |
Polling.PollingOptions.waitPeriodly(long sleepTime,
TimeUnit timeUnit)
Waits with a fixed interval.
|
static Polling.PollingOptions |
Polling.waitRandomly(long maximumTime,
TimeUnit timeUnit)
Waits with a random interval.
|
Polling.PollingOptions |
Polling.PollingOptions.waitRandomly(long maximumTime,
TimeUnit timeUnit)
Waits with a random interval.
|
Copyright © 2019. All rights reserved.