Class: Contrast::Agent::Reporting::Client::InterfaceBase

Inherits:
Object
  • Object
show all
Defined in:
lib/contrast/agent/reporting/client/interface_base.rb

Overview

Common methods for Client interface.

Direct Known Subclasses

Interface, Telemetry::Interface

Instance Method Summary collapse

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