public Retryer < V > build ( ) { AttemptTimeLimiter < V > theAttemptTimeLimiter = attemptTimeLimiter == null ? AttemptTimeLimiters . < V > noTimeLimit ( ) : attemptTimeLimiter ; StopStrategy theStopStrategy = stopStrategy == null ? StopStrategies . neverStop ( ) : stopStrategy ; WaitStrategy theWaitStrategy = waitStrategy == null ? WaitStrategies . noWait ( ) : waitStrategy ; BlockStrategy theBlockStrategy = blockStrategy == null ? BlockStrategies . threadSleepStrategy ( ) : blockStrategy ; return new Retryer < V > ( theAttemptTimeLimiter , theStopStrategy , theWaitStrategy , theBlockStrategy , rejectionPredicate , listeners ) ; }
Builds the retryer .