Class Invalidator
java.lang.Object
com.evolveum.midpoint.repo.cache.invalidation.Invalidator
Contains functionality related to cache entry invalidation.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
invalidate
(Class<?> type, String oid, CacheInvalidationContext context) <T extends ObjectType>
voidinvalidateCacheEntries
(Class<T> type, String oid, RepositoryOperationResult additionalInfo, OperationResult parentResult) <T extends ObjectType>
booleanisSearchResultValid
(QueryKey<T> key, SearchResultList<PrismObject<T>> list, List<InvalidationEvent> invalidationEvents) Checks if the search result is still valid, even specified invalidation events came.void
void
-
Field Details
-
LOGGER
-
-
Constructor Details
-
Invalidator
public Invalidator()
-
-
Method Details
-
invalidate
-
invalidateCacheEntries
public <T extends ObjectType> void invalidateCacheEntries(Class<T> type, String oid, RepositoryOperationResult additionalInfo, OperationResult parentResult) -
registerInvalidationEventsListener
-
unregisterInvalidationEventsListener
-
isSearchResultValid
public <T extends ObjectType> boolean isSearchResultValid(QueryKey<T> key, SearchResultList<PrismObject<T>> list, List<InvalidationEvent> invalidationEvents) Checks if the search result is still valid, even specified invalidation events came.
-