BloombergLP::ball::AttributeContext_RuleEvaluationCache::isDataAvailable

Return whether this cache has up-to-date evaluations for the given rules.

Synopsis

Declared in <ball_attributecontext.h>

bool
isDataAvailable(
    bsls::Types::Int64 sequenceNumber,
    RuleSet::MaskType relevantRulesMask) const;

Description

Return true if this cache contains up-to-date cached rule evaluations having the specified sequenceNumber for the set of rules indicated by the specified relevantRulesMask bit mask, and false otherwise.

Return Value

true if the cache is up-to-date for the indicated rules, and false otherwise

Parameters

NameDescription
sequenceNumberrule-set sequence number to match
relevantRulesMaskbit mask of rules whose cached evaluations are required