NAME

IPC::Lock::RabbitMQ - Simple and reliable scoped locking for coarse grained locks.

SYNOPSIS

my $locker = IPC::Lock::RabbitMQ->new( mq => $rabbitfoot );

my $lock = $locker->lock("foo");
$lock->unlock;

DESCRIPTION

See IPC::Lock::RabbitMQ

METHODS

new

Constructs a lock object. You should never need to call this

unlock

Unlocks this lock.

DEMOLISH

Called when the lock object goes out of scope. Calls the unlock method.

AUTHOR, COPYRIGHT & LICENSE

See IPC::Lock::RabbitMQ.