Class AbstractSearchExpressionEvaluatorCache<V extends PrismValue,​RV extends PrismObject,​QK extends QueryKey,​QR extends QueryResult>

  • Direct Known Subclasses:
    AssociationSearchExpressionEvaluatorCache, DefaultSearchExpressionEvaluatorCache

    public abstract class AbstractSearchExpressionEvaluatorCache<V extends PrismValue,​RV extends PrismObject,​QK extends QueryKey,​QR extends QueryResult>
    extends AbstractThreadLocalCache
    Cache for search expression-based evaluators. It needs to be customized in the following ways: - what's in the query key besides basic data - namely, what parts of ExpressionEvaluationContext should be part of the key? - should we store anything in addition to the resulting list of values? E.g. shadow kind in case of associationTargetSearch that is used for invalidation? V - type of cached result items RV - type of raw values that we are searching for QK, QR - customized query keys / values After refactoring, this class contains almost nothing ;) Consider removing it altogether.
    Author:
    Pavol Mederly