Class AssociationSearchExpressionEvaluatorCache
- java.lang.Object
-
- com.evolveum.midpoint.util.caching.AbstractThreadLocalCache
-
- com.evolveum.midpoint.model.common.expression.evaluator.caching.AbstractSearchExpressionEvaluatorCache<PrismContainerValue<ShadowAssociationType>,PrismObject<ShadowType>,AssociationSearchQueryKey,AssociationSearchQueryResult>
-
- com.evolveum.midpoint.model.common.expression.evaluator.caching.AssociationSearchExpressionEvaluatorCache
-
public class AssociationSearchExpressionEvaluatorCache extends AbstractSearchExpressionEvaluatorCache<PrismContainerValue<ShadowAssociationType>,PrismObject<ShadowType>,AssociationSearchQueryKey,AssociationSearchQueryResult>
Search expression evaluator dealing with shadows - requires specific invalidation strategies.- Author:
- Pavol Mederly
-
-
Constructor Summary
Constructors Constructor Description AssociationSearchExpressionEvaluatorCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AssociationSearchQueryKey
createQueryKey(Class<? extends ObjectType> type, ObjectQuery query, ObjectSearchStrategyType searchStrategy, ExpressionEvaluationContext params, PrismContext prismContext)
protected AssociationSearchQueryResult
createQueryResult(List<PrismContainerValue<ShadowAssociationType>> resultList, List<PrismObject<ShadowType>> rawResultList)
static AssociationSearchExpressionEvaluatorCache
enterCache(CacheConfiguration configuration)
static AssociationSearchExpressionEvaluatorCache
exitCache()
static AbstractSearchExpressionEvaluatorCache
getCache()
void
invalidate(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, setClientContextInformation
-
Methods 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
-
-
-
-
Method Detail
-
getCache
public static AbstractSearchExpressionEvaluatorCache getCache()
-
enterCache
public static AssociationSearchExpressionEvaluatorCache enterCache(CacheConfiguration configuration)
-
exitCache
public static AssociationSearchExpressionEvaluatorCache exitCache()
-
createQueryKey
protected AssociationSearchQueryKey createQueryKey(Class<? extends ObjectType> 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)
-
-