Net::Telnet::Gearman::Function
use Net::Telnet::Gearman; my $session = Net::Telnet::Gearman->new( Host => '127.0.0.1', Port => 4730, ); my @functions = $session->status(); print Dumper @functions # $VAR1 = bless( # { # 'busy' => 10, # 'free' => 0, # 'name' => 'resize_image', # 'queue' => 74, # 'running' => 10 # }, # 'Net::Telnet::Gearman::Function' # );
Returns the name of the function.
Returns the amount of queued jobs for this function.
Returns the amount of workers currently working on this function.
Returns the amount of free workers that can do this function.
Returns the amount of running workers registered for this function.
Johannes Plunien <plu@cpan.org>
Copyright 2009 by Johannes Plunien
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Net::Telnet::Gearman
To install Net::Telnet::Gearman, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Telnet::Gearman
CPAN shell
perl -MCPAN -e shell install Net::Telnet::Gearman
For more information on module installation, please visit the detailed CPAN module installation guide.