POE::Component::MessageQueue::Statistics - Gather MQ Usage Statistics
my $statistics = POE::Component::MessageQueue::Statistics->new(); $mq->register( $statistics );
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
POE::Component::MessageQueue::Statistics::Publish, POE::Component::MessageQueue::Statistics::Publish::YAML
Daisuke Maki <daisuke@endeworks.jp>
To install POE::Component::MessageQueue, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::MessageQueue
CPAN shell
perl -MCPAN -e shell install POE::Component::MessageQueue
For more information on module installation, please visit the detailed CPAN module installation guide.