Thanks to visit codestin.com
Credit goes to googleapis.github.io

Interface for checking how many times a given task can be retried following a failure.