package TestWorker;
use namespace::autoclean;
use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init($DEBUG);

use Any::Moose;

extends 'Gearman::SlotWorker';

sub slowreverse{
    my $self = shift;
    my $data = shift;
    sleep(1);
    return reverse($data);
}
sub reverse{
    my $self = shift;
    my $data = shift;

    return reverse($data);
}
sub _private{
    my $self = shift;
    my $data = shift;
    DEBUG "_private:".$data;
}

1;