| 1 | package App::RecordStream::Clumper::WrappedClumperCallback; | ||
| 2 | |||
| 3 | 5 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 5 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 5 | ▶ | use App::RecordStream::Aggregator; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 5 | ▶ | use App::RecordStream::Record; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | sub new { | ||
| 10 | 22 | ▶ | my $class = shift; |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 11 | 22 | my $clumper = shift; | |
| 12 | 22 | my $next = shift; | |
| 13 | |||
| 14 | 22 | my $this = { | |
| 15 | 'CLUMPER' => $clumper, | ||
| 16 | 'NEXT' => $next, | ||
| 17 | }; | ||
| 18 | 22 | bless $this, $class; | |
| 19 | |||
| 20 | 22 | return $this; | |
| 21 | } | ||
| 22 | |||
| 23 | sub clumper_callback_begin { | ||
| 24 | 36 | ▶ | my $this = shift; |
|
Subroutine
clumper_callback_begin: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 25 | 36 | my $bucket = shift; | |
| 26 | |||
| 27 | 36 | return $this->{'CLUMPER'}->clumper_begin($bucket); | |
| 28 | } | ||
| 29 | |||
| 30 | sub clumper_callback_push_record { | ||
| 31 | 176 | ▶ | my $this = shift; |
|
Subroutine
clumper_callback_push_record: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 32 | 176 | my $cookie = shift; | |
| 33 | 176 | my $record = shift; | |
| 34 | |||
| 35 | 176 | return $this->{'CLUMPER'}->clumper_push_record($cookie, $record, $this->{'NEXT'}); | |
| 36 | } | ||
| 37 | |||
| 38 | sub clumper_callback_end { | ||
| 39 | 35 | ▶ | my $this = shift; |
|
Subroutine
clumper_callback_end: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 40 | 35 | my $cookie = shift; | |
| 41 | |||
| 42 | 35 | return $this->{'CLUMPER'}->clumper_end($cookie, $this->{'NEXT'}); | |
| 43 | } | ||
| 44 | |||
| 45 | 5 | 1; | |