Gearman::Client::Async(3pm)

Gearman::Client::Async3pm

Asynchronous client module for gearman for danga::socket applications

Usage

    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 );

Warranty

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

Releases

2 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0

Authors

 Brad Fitzpatrick ([email protected])
 Jonathan Steinert ([email protected])

From libgearman-client-async-perl 0.94-3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.