Class ExponentialRetryAlgorithm

    • Constructor Detail

      • ExponentialRetryAlgorithm

        public ExponentialRetryAlgorithm​(RetrySettings globalSettings,
                                         com.google.api.core.ApiClock clock)
        Creates a new exponential retry algorithm instance.
        Parameters:
        globalSettings - global retry settings (attempt independent)
        clock - clock to use for time-specific calculations
        Throws:
        java.lang.NullPointerException - if either globalSettings or clock is null