Queue::Leaky - Queues with leaky buckets


Queue-Leaky documentation  | view source Contained in the Queue-Leaky distribution.

Index


NAME

Top

Queue::Leaky - Queues with leaky buckets

SYNOPSIS

Top

  use Queue::Leaky;
  my $queue = Queue::Leaky->new;

  $queue->inesrt( ... );

  while ( 1 ) {
    if ($queue->next) {
      my $message = $queue->fetch;
    }
  }

  $queue->clear;

DESCRIPTION

Top

Queue::Leaky is employed as a traffic regulator.

AUTHOR

Top

Taro Funaki <t@33rpm.jp>

LICENSE

Top

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Top


Queue-Leaky documentation  | view source Contained in the Queue-Leaky distribution.