Module: NewRelic::Agent::PipeChannelManager
- Extended by:
- PipeChannelManager
- Included in:
- PipeChannelManager
- Defined in:
- lib/new_relic/agent/pipe_channel_manager.rb
Overview
– Manages the registering and servicing of pipes used by child processes to report data to their parent, rather than directly to the collector.
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#channels ⇒ Object
20 21 22 |
# File 'lib/new_relic/agent/pipe_channel_manager.rb', line 20 def channels listener.pipes end |
#listener ⇒ Object
24 25 26 |
# File 'lib/new_relic/agent/pipe_channel_manager.rb', line 24 def listener @listener ||= Listener.new end |
#register_report_channel(id) ⇒ Object
16 17 18 |
# File 'lib/new_relic/agent/pipe_channel_manager.rb', line 16 def register_report_channel(id) listener.register_pipe(id) end |