GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GEARMAN::CLIENT::ASYNC (3)

.ds Aq ’

NAME

Gearman::Client::Async - Asynchronous client module for Gearman for Danga::Socket applications

CONTENTS

SYNOPSIS



    use Gearman::Client::Async;

    # Instantiate a new Gearman::Client::Async object.
    $client = Gearman::Client::Async->new(
        job_servers => [ 127.0.0.1, 192.168.0.1:123 ],
    );

    # Overwrite job server list with a new one.
    $client->set_job_servers( 10.0.0.1 );

    # Read list of job servers out of the client.
    $arrayref = $client->job_servers;
    @array = $client->job_servers;

    # Start a task
    $task = Gearman::Task->new(...); # with callbacks, etc
    $client->add_task( $task );



COPYRIGHT

Copyright 2006 Six Apart, Ltd.

License granted to use/distribute under the same terms as Perl itself.

WARRANTY

This is free software. This comes with no warranty whatsoever.

AUTHORS



 Brad Fitzpatrick (brad@danga.com)
 Jonathan Steinert (hachi@cpan.org)



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GEARMAN::CLIENT::ASYNC (3) 2007-05-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.