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>