跳过导航链接
A B C D E F G H I J N P R S U V W 

A

Attempt - com.dyngr.core中的接口
An attempt of a call, with information about whether an exception is occurred, etc.
AttemptMaker<V> - com.dyngr.core中的接口
An user defined code which will be executed as the polling body.
AttemptResult<V> - com.dyngr.core中的类
Result of a single attempt.
AttemptResults - com.dyngr.core中的类
Factory class for instances of AttemptResult.
AttemptResults() - 类 的构造器com.dyngr.core.AttemptResults
 
AttemptState - com.dyngr.core中的枚举
An user instruction to determine if next polling will be invoked.
awaitTermination(long, TimeUnit) - 类 中的方法com.dyngr.concurrent.DirectExecutorService
 

B

breakFor(String) - 类 中的静态方法com.dyngr.core.AttemptResults
Return an AttemptResult that will break polling and throw an UserBreakException.
breakFor(Throwable) - 类 中的静态方法com.dyngr.core.AttemptResults
Return an AttemptResult that will break polling and throw an UserBreakException.
build() - 类 中的方法com.dyngr.PollerBuilder
Finally build the Poller instance.

C

checkArgument(boolean) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object...) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, char, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, char, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, char, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, char, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, int, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, int, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, int, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, int, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, long, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, long, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, long, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, long, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object, Object, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object, Object, Object, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkElementIndex(int, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that index specifies a valid element in an array, list or string of size size.
checkElementIndex(int, int, String) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that index specifies a valid element in an array, list or string of size size.
checkNotNull(T) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object...) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, char, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, char, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, char, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, char, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, int, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, int, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, int, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, int, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, long, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, long, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, long, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, long, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object, Object, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object, Object, Object, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkPositionIndex(int, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that index specifies a valid position in an array, list or string of size size.
checkPositionIndex(int, int, String) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that index specifies a valid position in an array, list or string of size size.
checkPositionIndexes(int, int, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures that start and end specify a valid positions in an array, list or string of size size, and are in order.
checkState(boolean) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object...) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, char, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, char, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, char, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, char, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, int, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, int, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, int, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, int, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, long, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, long, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, long, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, long, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object, char) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object, int) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object, long) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object, Object, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object, Object, Object, Object) - 类 中的静态方法com.dyngr.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
com.dyngr - 程序包 com.dyngr
 
com.dyngr.concurrent - 程序包 com.dyngr.concurrent
 
com.dyngr.core - 程序包 com.dyngr.core
 
com.dyngr.core.strategy - 程序包 com.dyngr.core.strategy
 
com.dyngr.exception - 程序包 com.dyngr.exception
 
com.dyngr.util - 程序包 com.dyngr.util
 
CompositeStopStrategy - com.dyngr.core.strategy中的类
A stop strategy composited by a list of strategies and will stop if any of them to say stop.
CompositeStopStrategy(List<StopStrategy>) - 类 的构造器com.dyngr.core.strategy.CompositeStopStrategy
 
computeWaitTime(T) - 接口 中的方法com.dyngr.core.ExceptionWaitHandler
Returns the time, in milliseconds, to sleep before retrying.
computeWaitTime(Attempt) - 接口 中的方法com.dyngr.core.WaitStrategy
Returns the time, in milliseconds, to sleep before retrying.
continueFor(Throwable) - 类 中的静态方法com.dyngr.core.AttemptResults
 

D

DefaultAttempt - com.dyngr.core中的类
Default implementation of Attempt.
DefaultAttempt(long, long, long, Throwable) - 类 的构造器com.dyngr.core.DefaultAttempt
 
DefaultPoller<V> - com.dyngr.core中的类
Default implementation of Poller.
DefaultPoller(AttemptMaker<V>, StopStrategy, WaitStrategy, ExecutorService) - 类 的构造器com.dyngr.core.DefaultPoller
 
DirectExecutorService - com.dyngr.concurrent中的类
Copied class of Guava's DirectExecutorService.
DirectExecutorService() - 类 的构造器com.dyngr.concurrent.DirectExecutorService
 

E

exceptionWait(Class<T>, ExceptionWaitHandler<T>) - 类 中的静态方法com.dyngr.core.WaitStrategies
Returns a strategy which sleeps for an amount of time based on the Exception that occurred.
ExceptionWaitHandler<T extends Throwable> - com.dyngr.core中的接口
An handler to compute next waiting time based on caught exception.
execute(Runnable) - 类 中的方法com.dyngr.concurrent.DirectExecutorService
 
exponentialWait() - 类 中的静态方法com.dyngr.core.WaitStrategies
Returns a strategy which sleeps for an exponential amount of time after the first failed attempt, and in exponentially incrementing amounts after each failed attempt up to Long.MAX_VALUE.
exponentialWait(long, TimeUnit) - 类 中的静态方法com.dyngr.core.WaitStrategies
Returns a strategy which sleeps for an exponential amount of time after the first failed attempt, and in exponentially incrementing amounts after each failed attempt up to the maximumTime.
exponentialWait(long, long, TimeUnit) - 类 中的静态方法com.dyngr.core.WaitStrategies
Returns a strategy which sleeps for an exponential amount of time after the first failed attempt, and in exponentially incrementing amounts after each failed attempt up to the maximumTime.

F

fibonacciWait() - 类 中的静态方法com.dyngr.core.WaitStrategies
Returns a strategy which sleeps for an increasing amount of time after the first failed attempt, and in Fibonacci increments after each failed attempt up to Long.MAX_VALUE.
fibonacciWait(long, TimeUnit) - 类 中的静态方法com.dyngr.core.WaitStrategies
Returns a strategy which sleeps for an increasing amount of time after the first failed attempt, and in Fibonacci increments after each failed attempt up to the maximumTime.
fibonacciWait(long, long, TimeUnit) - 类 中的静态方法com.dyngr.core.WaitStrategies
Returns a strategy which sleeps for an increasing amount of time after the first failed attempt, and in Fibonacci increments after each failed attempt up to the maximumTime.
finishWith(V) - 类 中的静态方法com.dyngr.core.AttemptResults
Return an AttemptResult that will end polling with given result.
fixedWait(long, TimeUnit) - 类 中的静态方法com.dyngr.core.WaitStrategies
Returns a wait strategy that sleeps a fixed amount of time before retrying.

G

getAttemptNumber() - 接口 中的方法com.dyngr.core.Attempt
The number, starting from 1, of this attempt.
getAttemptNumber() - 类 中的方法com.dyngr.core.DefaultAttempt
 
getCause() - 类 中的方法com.dyngr.core.AttemptResult
 
getDelaySinceFirstAttempt() - 接口 中的方法com.dyngr.core.Attempt
The delay since the start of the first attempt, in milliseconds.
getDelaySinceFirstAttempt() - 类 中的方法com.dyngr.core.DefaultAttempt
 
getExceptionCause() - 接口 中的方法com.dyngr.core.Attempt
Gets the exception thrown by the call
getExceptionCause() - 类 中的方法com.dyngr.core.DefaultAttempt
 
getMessage() - 类 中的方法com.dyngr.core.AttemptResult
 
getResult() - 类 中的方法com.dyngr.core.AttemptResult
 
getState() - 类 中的方法com.dyngr.core.AttemptResult
 
getStopStrategies() - 类 中的方法com.dyngr.core.strategy.CompositeStopStrategy
 

H

hasException() - 接口 中的方法com.dyngr.core.Attempt
Tells if the call threw an exception or not
hasException() - 类 中的方法com.dyngr.core.DefaultAttempt
 

I

incrementingWait(long, TimeUnit, long, TimeUnit) - 类 中的静态方法com.dyngr.core.WaitStrategies
Returns a strategy that sleeps a fixed amount of time after the first failed attempt and in incrementing amounts of time after each additional failed attempt.
isInterrupted(Throwable) - 类 中的静态方法com.dyngr.util.PollerExceptions
Tells whether the polling is stopped due to a interruption.
isShutdown() - 类 中的方法com.dyngr.concurrent.DirectExecutorService
 
isStopped(Throwable) - 类 中的静态方法com.dyngr.util.PollerExceptions
Tells whether the polling is stopped due to a wait strategy condition met.
isTerminated() - 类 中的方法com.dyngr.concurrent.DirectExecutorService
 

J

join(StopStrategy...) - 类 中的静态方法com.dyngr.core.StopStrategies
Joins one or more stop strategies to derive a composite stop strategy.
join(WaitStrategy...) - 类 中的静态方法com.dyngr.core.WaitStrategies
Joins one or more wait strategies to derive a composite wait strategy.
justContinue() - 类 中的静态方法com.dyngr.core.AttemptResults
Return an AttemptResult that makes polling continue.
justFinish() - 类 中的静态方法com.dyngr.core.AttemptResults
Return an AttemptResult that will end polling without result.

N

neverStop() - 类 中的静态方法com.dyngr.core.StopStrategies
Returns a stop strategy which never stops retrying.
NeverStopStrategy - com.dyngr.core.strategy中的类
A stop strategy that never stop.
NeverStopStrategy() - 类 的构造器com.dyngr.core.strategy.NeverStopStrategy
 
newBuilder() - 类 中的静态方法com.dyngr.PollerBuilder
Constructs a new builder
noWait() - 类 中的静态方法com.dyngr.core.WaitStrategies
Returns a wait strategy that doesn't sleep at all before retrying.

P

Poller<V> - com.dyngr中的接口
A poller will do some work periodically, and stops if a StopStrategy is fulfilled.
PollerBuilder<V> - com.dyngr中的类
A builder to build a Poller.
PollerBuilder() - 类 的构造器com.dyngr.PollerBuilder
 
PollerException - com.dyngr.exception中的异常错误
Poller's exception base.
PollerException() - 异常错误 的构造器com.dyngr.exception.PollerException
 
PollerException(String) - 异常错误 的构造器com.dyngr.exception.PollerException
 
PollerException(String, Throwable) - 异常错误 的构造器com.dyngr.exception.PollerException
 
PollerException(Throwable) - 异常错误 的构造器com.dyngr.exception.PollerException
 
PollerExceptions - com.dyngr.util中的类
Utility class to analyze exceptions thrown during polling processing.
PollerExceptions() - 类 的构造器com.dyngr.util.PollerExceptions
 
PollerInterruptedException - com.dyngr.exception中的异常错误
An exception which implies the worker thread is interrupted during polling.
PollerInterruptedException() - 异常错误 的构造器com.dyngr.exception.PollerInterruptedException
 
PollerInterruptedException(String) - 异常错误 的构造器com.dyngr.exception.PollerInterruptedException
 
PollerInterruptedException(String, Throwable) - 异常错误 的构造器com.dyngr.exception.PollerInterruptedException
 
PollerInterruptedException(Throwable) - 异常错误 的构造器com.dyngr.exception.PollerInterruptedException
 
PollerStoppedException - com.dyngr.exception中的异常错误
An exception implies polling is stopped by a StopStrategy.
PollerStoppedException() - 异常错误 的构造器com.dyngr.exception.PollerStoppedException
 
PollerStoppedException(String) - 异常错误 的构造器com.dyngr.exception.PollerStoppedException
 
PollerStoppedException(String, Throwable) - 异常错误 的构造器com.dyngr.exception.PollerStoppedException
 
PollerStoppedException(Throwable) - 异常错误 的构造器com.dyngr.exception.PollerStoppedException
 
PollerUnknownException - com.dyngr.exception中的异常错误
A wrapper runtime exception for those unknown exceptions.
PollerUnknownException() - 异常错误 的构造器com.dyngr.exception.PollerUnknownException
 
PollerUnknownException(String) - 异常错误 的构造器com.dyngr.exception.PollerUnknownException
 
PollerUnknownException(String, Throwable) - 异常错误 的构造器com.dyngr.exception.PollerUnknownException
 
PollerUnknownException(Throwable) - 异常错误 的构造器com.dyngr.exception.PollerUnknownException
 
polling(AttemptMaker<V>) - 类 中的方法com.dyngr.PollerBuilder
Sets the code of actual polling.
Polling - com.dyngr中的类
A helpful factory that covers most frequently used cases.
Polling() - 类 的构造器com.dyngr.Polling
 
Polling.PollingOptions - com.dyngr中的类
 
Preconditions - com.dyngr.util中的类
Copied class of Guava's Preconditions.
process() - 接口 中的方法com.dyngr.core.AttemptMaker
Do the actual polling action.

R

randomWait(long, TimeUnit) - 类 中的静态方法com.dyngr.core.WaitStrategies
Returns a strategy that sleeps a random amount of time before retrying.
randomWait(long, TimeUnit, long, TimeUnit) - 类 中的静态方法com.dyngr.core.WaitStrategies
Returns a strategy that sleeps a random amount of time before retrying.
run(AttemptMaker<V>) - 类 中的方法com.dyngr.Polling.PollingOptions
Build and start Poller immediately, waiting for the result.

S

shouldStop(Attempt) - 接口 中的方法com.dyngr.core.StopStrategy
Returns true if the retryer should stop retrying.
shouldStop(Attempt) - 类 中的方法com.dyngr.core.strategy.CompositeStopStrategy
 
shouldStop(Attempt) - 类 中的方法com.dyngr.core.strategy.NeverStopStrategy
 
shouldStop(Attempt) - 类 中的方法com.dyngr.core.strategy.StopAfterAttemptStrategy
 
shouldStop(Attempt) - 类 中的方法com.dyngr.core.strategy.StopAfterDelayStrategy
 
shouldStop(Attempt) - 类 中的方法com.dyngr.core.strategy.StopIfExceptionStrategy
 
shutdown() - 类 中的方法com.dyngr.concurrent.DirectExecutorService
 
shutdownNow() - 类 中的方法com.dyngr.concurrent.DirectExecutorService
 
start() - 类 中的方法com.dyngr.core.DefaultPoller
 
start() - 接口 中的方法com.dyngr.Poller
Start this poller.
stopAfterAttempt(int) - 类 中的静态方法com.dyngr.core.StopStrategies
Returns a stop strategy which stops after N failed attempts.
stopAfterAttempt(int) - 类 中的方法com.dyngr.Polling.PollingOptions
Stops after N failed attempts.
stopAfterAttempt(int) - 类 中的静态方法com.dyngr.Polling
Stops after N failed attempts.
StopAfterAttemptStrategy - com.dyngr.core.strategy中的类
A stop strategy which stops after N failed attempts.
StopAfterAttemptStrategy(int) - 类 的构造器com.dyngr.core.strategy.StopAfterAttemptStrategy
 
stopAfterDelay(long, TimeUnit) - 类 中的静态方法com.dyngr.core.StopStrategies
Returns a stop strategy which stops after a given delay.
stopAfterDelay(long, TimeUnit) - 类 中的方法com.dyngr.Polling.PollingOptions
Stops after a given delay.
stopAfterDelay(long, TimeUnit) - 类 中的静态方法com.dyngr.Polling
Stops after a given delay.
StopAfterDelayStrategy - com.dyngr.core.strategy中的类
A stop strategy that stops after a given period elapsed.
StopAfterDelayStrategy(long) - 类 的构造器com.dyngr.core.strategy.StopAfterDelayStrategy
 
stopIfException(boolean) - 类 中的方法com.dyngr.PollerBuilder
Set if poller should stop when an exception is thrown.
stopIfException(boolean) - 类 中的方法com.dyngr.Polling.PollingOptions
Should poller stop when an exception is thrown.
StopIfExceptionStrategy - com.dyngr.core.strategy中的类
A stop strategy that stops if any exception occurred.
StopIfExceptionStrategy() - 类 的构造器com.dyngr.core.strategy.StopIfExceptionStrategy
 
StopStrategies - com.dyngr.core中的类
Factory class for StopStrategy instances.
StopStrategy - com.dyngr.core中的接口
 

U

UserBreakException - com.dyngr.exception中的异常错误
An exception implies polling is aborted because of an user break.
UserBreakException() - 异常错误 的构造器com.dyngr.exception.UserBreakException
 
UserBreakException(String) - 异常错误 的构造器com.dyngr.exception.UserBreakException
 
UserBreakException(String, Throwable) - 异常错误 的构造器com.dyngr.exception.UserBreakException
 
UserBreakException(Throwable) - 异常错误 的构造器com.dyngr.exception.UserBreakException
 

V

valueOf(String) - 枚举 中的静态方法com.dyngr.core.AttemptState
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.dyngr.core.AttemptState
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

W

waitPeriodly(long, TimeUnit) - 类 中的方法com.dyngr.Polling.PollingOptions
Waits with a fixed interval.
waitPeriodly(long, TimeUnit) - 类 中的静态方法com.dyngr.Polling
Waits with a fixed interval.
waitRandomly(long, TimeUnit) - 类 中的方法com.dyngr.Polling.PollingOptions
Waits with a random interval.
waitRandomly(long, TimeUnit) - 类 中的静态方法com.dyngr.Polling
Waits with a random interval.
WaitStrategies - com.dyngr.core中的类
Factory class for instances of WaitStrategy.
WaitStrategy - com.dyngr.core中的接口
 
withExecutorService(ExecutorService) - 类 中的方法com.dyngr.PollerBuilder
Sets the ExecutorService on which Poller will be running.
withStopStrategy(StopStrategy) - 类 中的方法com.dyngr.PollerBuilder
Sets the stop strategy used to decide when to stop retrying.
withStopStrategy(StopStrategy...) - 类 中的方法com.dyngr.PollerBuilder
Sets a list of stop strategies used to decide when to stop retrying. polling will stop if any stop strategy's condition is fulfilled.
withWaitStrategy(WaitStrategy) - 类 中的方法com.dyngr.PollerBuilder
Sets the wait strategy used to decide how long to sleep between failed attempts.
withWaitStrategy(WaitStrategy...) - 类 中的方法com.dyngr.PollerBuilder
Sets a list of wait strategy used to decide how long to sleep between failed attempts.
A B C D E F G H I J N P R S U V W 
跳过导航链接

Copyright © 2019. All rights reserved.