Module: CountingSemaphore

Defined in:
lib/counting_semaphore/local_semaphore.rb,
lib/counting_semaphore.rb,
lib/counting_semaphore/version.rb,
lib/counting_semaphore/null_logger.rb,
lib/counting_semaphore/redis_semaphore.rb,
lib/counting_semaphore/with_lease_support.rb

Overview

A counting semaphore that allows up to N concurrent operations. When capacity is exceeded, operations block until resources become available. API compatible with concurrent-ruby’s Semaphore class.

Defined Under Namespace

Modules: NullLogger, WithLeaseSupport Classes: Lease, LeaseTimeout, LocalSemaphore, RedisSemaphore

Constant Summary collapse

VERSION =
"0.2.0"