class Mmtrix::Agent::Transaction::SlowestSampleBuffer
Constants
- CAPACITY
Public Instance Methods
allow_sample?(sample)
click to toggle source
# File lib/mmtrix/agent/transaction/slowest_sample_buffer.rb, line 18 def allow_sample?(sample) sample.threshold && sample.duration >= sample.threshold end
capacity()
click to toggle source
# File lib/mmtrix/agent/transaction/slowest_sample_buffer.rb, line 14 def capacity CAPACITY end