Package com.evolveum.midpoint.repo.cache
Class AbstractGlobalCache
- java.lang.Object
-
- com.evolveum.midpoint.repo.cache.AbstractGlobalCache
-
- Direct Known Subclasses:
GlobalObjectCache
,GlobalQueryCache
,GlobalVersionCache
public abstract class AbstractGlobalCache extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected CacheConfigurationManager
configurationManager
protected PrismContext
prismContext
-
Constructor Summary
Constructors Constructor Description AbstractGlobalCache()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
clear()
protected abstract CacheType
getCacheType()
protected CacheConfiguration
getConfiguration()
protected CacheConfiguration.CacheObjectTypeConfiguration
getConfiguration(Class<?> type)
protected long
getExpiryTime(Class<?> type)
-
-
-
Field Detail
-
configurationManager
@Autowired protected CacheConfigurationManager configurationManager
-
prismContext
@Autowired protected PrismContext prismContext
-
-
Method Detail
-
getConfiguration
protected CacheConfiguration getConfiguration()
-
getConfiguration
protected CacheConfiguration.CacheObjectTypeConfiguration getConfiguration(Class<?> type)
-
getExpiryTime
protected long getExpiryTime(Class<?> type)
-
getCacheType
protected abstract CacheType getCacheType()
-
clear
public abstract void clear()
-
-