Package com.evolveum.midpoint.repo.cache
Class LocalQueryCache
- java.lang.Object
-
- com.evolveum.midpoint.util.caching.AbstractThreadLocalCache
-
- com.evolveum.midpoint.repo.cache.LocalQueryCache
-
public class LocalQueryCache extends AbstractThreadLocalCache
-
-
Constructor Summary
Constructors Constructor Description LocalQueryCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
SearchResultList
get(QueryKey key)
Iterator<Map.Entry<QueryKey,SearchResultList>>
getEntryIterator()
protected int
getSize()
void
put(QueryKey key, SearchResultList objects)
void
remove(QueryKey key)
-
Methods inherited from class com.evolveum.midpoint.util.caching.AbstractThreadLocalCache
debugDump, destroy, enter, exists, exit, getConfiguration, getConfiguration, getEntryCount, getTotalSize, isAvailable, registerHit, registerMiss, registerPass, setConfiguration, supportsObjectType, toString
-
-
-
-
Method Detail
-
get
public SearchResultList get(QueryKey key)
-
put
public void put(QueryKey key, SearchResultList objects)
-
remove
public void remove(QueryKey key)
-
description
public String description()
- Specified by:
description
in classAbstractThreadLocalCache
-
getSize
protected int getSize()
- Specified by:
getSize
in classAbstractThreadLocalCache
-
getEntryIterator
public Iterator<Map.Entry<QueryKey,SearchResultList>> getEntryIterator()
-
-