| 1 | # | ||
| 2 | # This file is part of Action-Retry | ||
| 3 | # | ||
| 4 | # This software is copyright (c) 2013 by Damien "dams" Krotkine. | ||
| 5 | # | ||
| 6 | # This is free software; you can redistribute it and/or modify it under | ||
| 7 | # the same terms as the Perl 5 programming language system itself. | ||
| 8 | # | ||
| 9 | package Action::Retry::Strategy; | ||
| 10 | { | ||
| 11 | 9 | $Action::Retry::Strategy::VERSION = '0.24'; | |
| 12 | } | ||
| 13 | |||
| 14 | # ABSTRACT: Srategy role that any Action::Retry strategy should consume | ||
| 15 | |||
| 16 | 9 | ▶ | use Moo::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | |||
| 18 | 9 | requires 'needs_to_retry'; | |
| 19 | 9 | requires 'compute_sleep_time'; | |
| 20 | 9 | requires 'next_step'; | |
| 21 | 9 | requires 'reset'; | |
| 22 | |||
| 23 | 9 | 1; | |
| 24 | |||
| 25 | __END__ | ||