Module: ActiveSupport::Cache::CouchbaseStore::Threadsafe
- Defined in:
- lib/active_support/cache/couchbase_store.rb
Instance Method Summary collapse
- #decr ⇒ Object
- #delete ⇒ Object
- #get ⇒ Object
- #incr ⇒ Object
- #init_threadsafe ⇒ Object
- #send ⇒ Object
- #stats ⇒ Object
Instance Method Details
#decr ⇒ Object
412 413 414 415 416 |
# File 'lib/active_support/cache/couchbase_store.rb', line 412 def decr(*) @lock.synchronize do super end end |
#delete ⇒ Object
400 401 402 403 404 |
# File 'lib/active_support/cache/couchbase_store.rb', line 400 def delete(*) @lock.synchronize do super end end |
#get ⇒ Object
388 389 390 391 392 |
# File 'lib/active_support/cache/couchbase_store.rb', line 388 def get(*) @lock.synchronize do super end end |
#incr ⇒ Object
406 407 408 409 410 |
# File 'lib/active_support/cache/couchbase_store.rb', line 406 def incr(*) @lock.synchronize do super end end |
#init_threadsafe ⇒ Object
424 425 426 |
# File 'lib/active_support/cache/couchbase_store.rb', line 424 def init_threadsafe @lock = Monitor.new end |
#send ⇒ Object
394 395 396 397 398 |
# File 'lib/active_support/cache/couchbase_store.rb', line 394 def send(*) @lock.synchronize do super end end |
#stats ⇒ Object
418 419 420 421 422 |
# File 'lib/active_support/cache/couchbase_store.rb', line 418 def stats(*) @lock.synchronize do super end end |