1Fsdb::Support::DelayPasUssCeormmCeonnttsr(i3b)uted PerlFDsodcbu:m:eSnutpaptoirotn::DelayPassComments(3)
2
3
4

NAME

6       Fsdb::Support::DelayPassComments - support for buffering comments
7

SYNOPSIS

9       Buffer and send out comments
10

FUNCTIONS

12   new
13           $filter->{_delay_pass_comments} = new Fsdb::Support::DelayPassComments;
14
15       or more likely, one uses it indirectly with Fsdb::Filter and
16       Fsdb::IO::Reader:
17
18           $self->{_in} = finish_io_options('input', -comment_handler => create_delay_pass_comments_sub);
19           $self->{_out} = new Fsdb::IO::Writer(...);
20           ...
21           # in Fsdb::Filter
22           $self->{_delay_comments}->flush($self->{_out};
23
24       Creates a buffer for comments that will run with bounded memory usage.
25       New requires the output stream, a Fsdb::IO::Writer object.
26       Fsdb::Filter will dump these after all other output.
27
28   enqueue
29           $dpc->enqueue($comment [, $other_comments...])
30
31       Save up the $COMMENT.
32
33   spill_to_disk
34           $dpc->spill_to_disk
35
36       Internal: switch from in-memory caching to disk caching.
37
38   flush
39           $dpc->flush($output_fsdb);
40
41       Dump all saved comments to the saved Fsdb::IO::Writer, or if
42       $OUTPUT_FSDB is undef, then to stdout.
43
44
45
46perl v5.34.1                      2022-04-04Fsdb::Support::DelayPassComments(3)
Impressum