Constructor.
Wait on retry.
Sleep in a multi-thread compatible way. sleep() in multiple threads is not trivial because when several threads simultaneously sleep and the first wakes up, the others will instantly wake up, too. See nanosleep() man page
Alias for a delegate which executes a code block and decides if it has succeeded or failed.
Initiates the execution and possible retrying of a block of code.
Decides whether to keep retrying or to give up.
Called before a retry is commenced. The base class behaviour does nothing, but it can be overridden by derived classes to implement special behaviour on retry.
Retrying class which waits for a specified amount of time before each retry.