public ConditionFactory pollInterval(long pollInterval, TimeUnit unit) {
        PollInterval fixedPollInterval = new FixedPollInterval(new Duration(pollInterval, unit));
        return new ConditionFactory(alias, timeoutConstraint, fixedPollInterval, definePollDelay(pollDelay, fixedPollInterval),
                catchUncaughtExceptions, exceptionsIgnorer, conditionEvaluationListener, executorLifecycle);
    }
public ConditionFactory pollInterval(long pollInterval, TimeUnit unit) {
        PollInterval fixedPollInterval = new FixedPollInterval(new Duration(pollInterval, unit));
        return new ConditionFactory(alias, timeoutConstraint, fixedPollInterval, definePollDelay(pollDelay, fixedPollInterval),
                catchUncaughtExceptions, exceptionsIgnorer, conditionEvaluationListener, executorLifecycle);
    }
public ConditionFactory pollInterval ( long pollInterval , TimeUnit unit ) { PollInterval fixedPollInterval = new FixedPollInterval ( new Duration ( pollInterval , unit ) ) ; return new ConditionFactory ( alias , timeoutConstraint , fixedPollInterval , definePollDelay ( pollDelay , fixedPollInterval ) , catchUncaughtExceptions , exceptionsIgnorer , conditionEvaluationListener , executorLifecycle ) ; }
Specify the polling interval Awaitility will use for this await
statement. This means the frequency in which the condition is checked for
completion.
<p>&nbsp;</p>
Note that the poll delay will be automatically set as to the same value
as the interval unless it's specified explicitly using
{@link #pollDelay(Duration)}, {@link #pollDelay(long, TimeUnit)} or
{@link org.awaitility.core.ConditionFactory#pollDelay(org.awaitility.Duration)} , or
ConditionFactory#andWithPollDelay(long, TimeUnit)}. This is the same as creating a {@link FixedPollInterval}.

@param pollInterval the poll interval
@param unit         the unit
@return the condition factory
@see FixedPollInterval
Specify the polling interval Awaitility will use for this await statement . This means the frequency in which the condition is checked for completion . <p > &nbsp ; < / p > Note that the poll delay will be automatically set as to the same value as the interval unless it s specified explicitly using { @link #pollDelay ( Duration ) } { @link #pollDelay ( long TimeUnit ) } or { @link org . awaitility . core . ConditionFactory#pollDelay ( org . awaitility . Duration ) } or ConditionFactory#andWithPollDelay ( long TimeUnit ) } . This is the same as creating a { @link FixedPollInterval } .