+ /** Minimum interval between task retries, in milliseconds */
+ private static final long retryInterval = 30000;
+ /** {@link SystemClock#elapsedRealtime()} time of last successful call to {@link #retryTasks()} */
+ private static long lastRetry = 0;
+ /** True if a retryTasks run is already scheduled on {@link #executor} */
+ private static volatile boolean retryIsScheduled = false;