class DistRedis
class HashRing
class Redis
class Redis::Pipeline
redis
0.1.2
# maybe_lock
def maybe_lock(&block) if @thread_safe @mutex.synchronize &block else block.call end end