Method: OneApm::Agent::SampledBuffer#initialize

Defined in:
lib/one_apm/support/event_buffer/sampled_buffer.rb

#initialize(capacity) ⇒ SampledBuffer

Returns a new instance of SampledBuffer.



15
16
17
18
19
# File 'lib/one_apm/support/event_buffer/sampled_buffer.rb', line 15

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