Class AssociationSearchExpressionEvaluatorCache
java.lang.Object
com.evolveum.midpoint.util.caching.AbstractThreadLocalCache
com.evolveum.midpoint.model.common.expression.evaluator.caching.AbstractSearchExpressionEvaluatorCache<PrismContainerValue<ShadowAssociationType>,ShadowType,AssociationSearchQueryKey,AssociationSearchQueryResult>
com.evolveum.midpoint.model.common.expression.evaluator.caching.AssociationSearchExpressionEvaluatorCache
public class AssociationSearchExpressionEvaluatorCache
extends AbstractSearchExpressionEvaluatorCache<PrismContainerValue<ShadowAssociationType>,ShadowType,AssociationSearchQueryKey,AssociationSearchQueryResult>
Search expression evaluator dealing with shadows - requires specific invalidation strategies.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AssociationSearchQueryKeycreateQueryKey(Class<ShadowType> type, ObjectQuery query, ObjectSearchStrategyType searchStrategy, ExpressionEvaluationContext params, PrismContext prismContext) protected AssociationSearchQueryResultcreateQueryResult(List<PrismContainerValue<ShadowAssociationType>> resultList, List<PrismObject<ShadowType>> rawResultList) enterCache(CacheConfiguration configuration) getCache()voidinvalidate(PrismObject<ResourceType> resource, PrismObject<? extends ShadowType> shadow) Methods inherited from class com.evolveum.midpoint.model.common.expression.evaluator.caching.AbstractSearchExpressionEvaluatorCache
description, dumpContent, getClientContextInformation, getQueryResult, getSize, putQueryResult, setClientContextInformationMethods inherited from class com.evolveum.midpoint.util.caching.AbstractThreadLocalCache
debugDump, destroy, dumpContent, enter, exists, exit, getConfiguration, getConfiguration, getEntryCount, getTotalSize, isAvailable, registerHit, registerMiss, registerPass, setConfiguration, supportsObjectType, toString
-
Constructor Details
-
AssociationSearchExpressionEvaluatorCache
public AssociationSearchExpressionEvaluatorCache()
-
-
Method Details
-
getCache
-
enterCache
public static AssociationSearchExpressionEvaluatorCache enterCache(CacheConfiguration configuration) -
exitCache
-
createQueryKey
protected AssociationSearchQueryKey createQueryKey(Class<ShadowType> type, ObjectQuery query, ObjectSearchStrategyType searchStrategy, ExpressionEvaluationContext params, PrismContext prismContext) -
createQueryResult
protected AssociationSearchQueryResult createQueryResult(List<PrismContainerValue<ShadowAssociationType>> resultList, List<PrismObject<ShadowType>> rawResultList) -
invalidate
public void invalidate(PrismObject<ResourceType> resource, PrismObject<? extends ShadowType> shadow)
-