class ScoutApm::SlowPolicy::Policy
Attributes
Public Class Methods
Source
# File lib/scout_apm/slow_policy/policy.rb, line 8 def initialize(context) @context = context end
Public Instance Methods
Source
# File lib/scout_apm/slow_policy/policy.rb, line 12 def call(request) raise NotImplementedError end
Source
# File lib/scout_apm/slow_policy/policy.rb, line 18 def stored!(request) end
Override in subclasses to execute some behavior if the request gets a slot in the ScoredItemSet
. Defaults to no-op