mongoid-bolt is a concrete lock implementation and mixin.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib annnnd we're thread-safe Jul 26, 2012
test annnnd we're thread-safe Jul 26, 2012
.gitignore annnnd we're thread-safe Jul 26, 2012
README.md first commit Jul 24, 2012
Rakefile first commit Jul 24, 2012
mongoid-bolt.gemspec annnnd we're thread-safe Jul 26, 2012

README.md

NAME

mongoid-bolt

INSTALL

gem install mongoid-bolt

SYNOPSIS

  require 'mongoid-bolt'

  Bolt.for(:shared_resource) do
    ioslated!
  end


  class A
    include Mongoid::Document
    include Mongoid::Bolt
  end

  a = A.new

  a.lock!

  a.unlock!

  a.lock do
    isolated!
  end


DESCRIPTION

mongoid-bolt is a concrete lock implementation and mixin.

it is process safe and atomic in a mongoid cluster.