Class: Aikido::Zen::Collector::Hosts Private

Inherits:
Aikido::Zen::CappedSet show all
Defined in:
lib/aikido/zen/collector/hosts.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Keeps track of the hostnames to which the app has made outbound HTTP requests.

Instance Attribute Summary

Attributes inherited from Aikido::Zen::CappedSet

#capacity

Instance Method Summary collapse

Methods inherited from Aikido::Zen::CappedSet

#<<, #as_json, #each

Constructor Details

#initialize(config = Aikido::Zen.config) ⇒ Hosts

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Hosts.



11
12
13
# File 'lib/aikido/zen/collector/hosts.rb', line 11

def initialize(config = Aikido::Zen.config)
  super(config.max_outbound_connections)
end