Method: Aerospike::Atomic#get
- Defined in:
- lib/aerospike/atomic/atomic.rb
permalink #get ⇒ Object Also known as: value
[View source]
35 36 37 38 39 40 41 |
# File 'lib/aerospike/atomic/atomic.rb', line 35 def get ret = nil @mutex.synchronize do ret = @value end ret end |