Net-Tomcat
view release on metacpan or search on metacpan
lib/Net/Tomcat/Connector/Statistics.pm view on Meta::CPAN
package Net::Tomcat::Connector::Statistics;
use strict;
use warnings;
our @ATTR = qw(max_threads current_thread_count current_thread_busy max_processing_time
processing_time request_count error_count bytes_received bytes_sent);
foreach my $attr ( @ATTR ) {{
no strict 'refs';
*{ __PACKAGE__ . "::$attr" } = sub { my $self = shift; return $self->{$attr} }
}}
sub new {
my ( $class, %args ) = @_;
lib/Net/Tomcat/Connector/Statistics.pm view on Meta::CPAN
methods in parent classes.
=head3 max_threads
Returns the number of maximum threads available for the connector.
=head3 current_thread_count
Returns the number of threads currently in use by the connector.
=head3 current_thread_busy
Returns the number of threads currently marked busy by the connector.
=head3 max_processing_time
Returns the maximum request processing time for the connector.
=head3 processing_time
Returns the total request processing time for the connector.
=head3 request_count
( run in 0.618 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )