Method: Datadog::Core::Buffer::ThreadSafe#push
- Defined in:
- lib/datadog/core/buffer/thread_safe.rb
#push(item) ⇒ Object
Add a new “item“ in the local queue. This method doesn’t block the execution even if the buffer is full. In that case, a random item is discarded.
25 26 27 |
# File 'lib/datadog/core/buffer/thread_safe.rb', line 25 def push(item) synchronize { super } end |