elock-ruby

Ruby client for elock.

6 years after

Ruby Client for elock

This library provides an easy-to-use ruby client for elock (https://github.com/dustin/elock).

== Example Usage (automatic lock management)

require 'elock-client'
l = ELock.new 'localhost'
l.with_lock('some_lock') { puts "I got the lock!" }

CHANGES: 1/11/2010: Refactoring, "conn_id", "set_conn_id", and "locks" methods.

1/4/2010: ELock.new now takes an options hash for :namespace and :logger. Also attempt to reconnect to the elock server if the connection encounters an error.

Related Repositories

officer

officer

Ruby lock server and client. ...

officer

officer

Ruby lock server and client built on EventMachine. ...