Class GlobalQueryCache
java.lang.Object
com.evolveum.midpoint.repo.cache.global.AbstractGlobalCache
com.evolveum.midpoint.repo.cache.global.GlobalQueryCache
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.cache.global.AbstractGlobalCache
configurationManager, prismContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
deleteMatching
(Predicate<Map.Entry<QueryKey, GlobalCacheQueryValue>> predicate) void
destroy()
void
<T extends ObjectType>
SearchResultList<PrismObject<T>>protected CacheType
void
boolean
<T extends ObjectType>
voidput
(QueryKey<T> key, @NotNull SearchResultList<PrismObject<T>> cacheObject) void
int
size()
Methods inherited from class com.evolveum.midpoint.repo.cache.global.AbstractGlobalCache
getConfiguration, getConfiguration, hasClusterwideInvalidationFor, shouldDoSafeRemoteInvalidationFor
-
Constructor Details
-
GlobalQueryCache
public GlobalQueryCache()
-
-
Method Details
-
initialize
public void initialize() -
destroy
@PreDestroy public void destroy() -
isAvailable
public boolean isAvailable() -
get
-
remove
-
put
public <T extends ObjectType> void put(QueryKey<T> key, @NotNull @NotNull SearchResultList<PrismObject<T>> cacheObject) -
deleteMatching
-
getCacheType
- Specified by:
getCacheType
in classAbstractGlobalCache
-
size
public int size() -
clear
public void clear()- Specified by:
clear
in classAbstractGlobalCache
-
getStateInformation
-
dumpContent
public void dumpContent()
-