line |
true |
false |
branch |
34
|
2 |
0 |
if defined $params{$retry_plan} |
35
|
0 |
2 |
unless $$self{$retry_plan} =~ /^(?:die|wait_forever|wait_count|discard|buffer)$/ |
52
|
0 |
1 |
if ($@) |
53
|
0 |
0 |
if (ref $@ and $@->isa('Thrift::TException')) { } |
72
|
13 |
4 |
unless $$self{'transport'}->isOpen |
76
|
9 |
8 |
if $append and @{$$self{'_retry_buffer'};} <= $$self{'retry_buffer_size'} |
78
|
0 |
4 |
if $result == 1 |
83
|
13 |
4 |
if ($@) |
85
|
13 |
0 |
if (ref $msg and $msg->isa('Thrift::TException')) |
89
|
3 |
10 |
if (@{$$self{'_retry_buffer'};} > $$self{'retry_buffer_size'} or $retry_plan eq 'wait_count' and $count < 0) |
93
|
2 |
11 |
if $retry_plan eq 'die' |
95
|
3 |
8 |
if ($retry_plan eq 'wait_forever') { } |
|
4 |
4 |
elsif ($retry_plan eq 'wait_count') { } |
|
1 |
3 |
elsif ($retry_plan eq 'buffer') { } |
|
3 |
0 |
elsif ($retry_plan eq 'discard') { } |
100
|
0 |
4 |
if $count < 0 |
106
|
0 |
1 |
if @{$$self{'_retry_buffer'};} > $$self{'retry_buffer_size'} |
119
|
1 |
0 |
if $$self{'transport'} |