Class: Contrast::Agent::Reporting::Client::InterfaceBase
- Defined in:
- lib/contrast/agent/reporting/client/interface_base.rb
Overview
Common methods for Client interface.
Direct Known Subclasses
Instance Method Summary collapse
-
#with_monitor(&block) ⇒ Object
Execute calls to connection with thread safety.
Instance Method Details
#with_monitor(&block) ⇒ Object
Execute calls to connection with thread safety.
13 14 15 |
# File 'lib/contrast/agent/reporting/client/interface_base.rb', line 13 def with_monitor &block monitor.synchronize(&block) end |