Class DefaultPollInterval

  • All Implemented Interfaces:
    org.awaitility.pollinterval.PollInterval

    public class DefaultPollInterval
    extends Object
    implements org.awaitility.pollinterval.PollInterval
    • Constructor Detail

      • DefaultPollInterval

        public DefaultPollInterval​(Long startTime,
                                   Double overheadRate,
                                   int maxDelay)
        DefaultPollInterval constructor.
        Parameters:
        startTime - in Epoch milliseconds
        overheadRate -
        maxDelay - in milliseconds
    • Method Detail

      • next

        public Duration next​(int iteration,
                             Duration previous)
        Specified by:
        next in interface org.awaitility.pollinterval.PollInterval