Naveed Massjouni > POE-Component-MessageQueue > POE::Component::MessageQueue::Statistics

Download:
POE-Component-MessageQueue-0.3001.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

POE::Component::MessageQueue::Statistics - Gather MQ Usage Statistics

SYNOPSIS ^

        my $statistics = POE::Component::MessageQueue::Statistics->new();
        $mq->register( $statistics );

DESCRIPTION ^

POE::Component::MessageQueue::Statistics is a simple observer that receives events from the main POE::Component::MessageQueue object to collect usage statistics.

By itself it will only *gather* statistics, and will not output anything.

To enable outputs, you need to create a separate Publish object:

        POE::Component::MessageQueue::Statistics::Publish::YAML->new(
                output => \*STDERR,
                statistics => $statistics
        );

Please refer to POE::Component::MessageQueue::Statistics::Publish for details on how to enable output

SEE ALSO ^

POE::Component::MessageQueue::Statistics::Publish, POE::Component::MessageQueue::Statistics::Publish::YAML

AUTHOR ^

Daisuke Maki <daisuke@endeworks.jp>

syntax highlighting: