« blib/lib/Cassandra/Client/Policy/Throttle/Default.pm
↑ Summary
blib/lib/Cassandra/Client/Error/UnavailableException.pm »
| 1 | package Cassandra::Client::Policy::Retry; | ||
| 2 | 13 | our $AUTHORITY = 'cpan:TVDW'; | |
| 3 | 13 | $Cassandra::Client::Policy::Retry::VERSION = '0.21'; | |
| 4 | 13 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 13 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 13 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 13 | ▶ | use Exporter 'import'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 13 | our @EXPORT_OK= (qw/try_next_host retry rethrow/); | |
| 10 | |||
| 11 | 0 | ▶ | sub try_next_host { |
|
Subroutine
try_next_host: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 12 | 0 | my $cl= shift; | |
| 13 | 0 | return 'retry'; | |
| 14 | } | ||
| 15 | |||
| 16 | 0 | ▶ | sub retry { |
|
Subroutine
retry: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 17 | 0 | my $cl= shift; | |
| 18 | 0 | return 'retry'; | |
| 19 | } | ||
| 20 | |||
| 21 | 0 | ▶ | sub rethrow { |
|
Subroutine
rethrow: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 22 | 0 | return 'rethrow'; | |
| 23 | } | ||
| 24 | |||
| 25 | 13 | 1; | |
| 26 | |||
| 27 | __END__ | ||