Method: NewRelic::Agent::PrioritySampledBuffer#initialize

Defined in:
lib/new_relic/agent/priority_sampled_buffer.rb

#initialize(capacity) ⇒ PrioritySampledBuffer

Returns a new instance of PrioritySampledBuffer.

[View source]

15
16
17
18
19
# File 'lib/new_relic/agent/priority_sampled_buffer.rb', line 15

def initialize(capacity)
  super
  @captured_lifetime = 0
  @seen_lifetime = 0
end