Click or drag to resize

RuleCache Class

Cache sampling rules and quota retrieved by RulePoller and TargetPoller. It will not return anything if the cache expires.
Inheritance Hierarchy
SystemObject
  Amazon.XRay.Recorder.Core.SamplingRuleCache

Namespace:  Amazon.XRay.Recorder.Core.Sampling
Assembly:  AWSXRayRecorder.Core (in AWSXRayRecorder.Core.dll) Version: 2.14.0+018bfa65877dd72e346735bad4d7ad46f217da09
Syntax
C#
public class RuleCache

The RuleCache type exposes the following members.

Constructors
  NameDescription
Public methodRuleCache
Initializes a new instance of the RuleCache class
Top
Properties
  NameDescription
Public propertyLastUpdated
Stores timestamp for the last refreshed cache.
Top
Methods
  NameDescription
Public methodGetMatchedRule
Returns matched rule for the given SamplingInput.
Public methodGetRules
Returns list of rules present in the cache.
Public methodLoadRules
Adds new rules to cache, clearing old rules not present in the newRules.
Public methodLoadTargets
Updates Targets in the cache
Top
Fields
  NameDescription
Public fieldStatic memberTTL
Cache expiry TTL.
Top
See Also