Class AbstractGlobalCache
- java.lang.Object
 - 
- com.evolveum.midpoint.repo.cache.global.AbstractGlobalCache
 
 
- 
- Direct Known Subclasses:
 GlobalObjectCache,GlobalQueryCache,GlobalVersionCache
public abstract class AbstractGlobalCache extends Object
Superclass for global caches handling objects, versions, and queries. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected CacheConfigurationManagerconfigurationManagerprotected PrismContextprismContext 
- 
Constructor Summary
Constructors Constructor Description AbstractGlobalCache() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidclear()protected abstract CacheTypegetCacheType()CacheConfigurationgetConfiguration()CacheConfiguration.CacheObjectTypeConfigurationgetConfiguration(Class<?> type)<T extends ObjectType>
booleanhasClusterwideInvalidationFor(Class<T> type)<T extends ObjectType>
booleanshouldDoSafeRemoteInvalidationFor(Class<T> type) 
 - 
 
- 
- 
Field Detail
- 
configurationManager
@Autowired protected CacheConfigurationManager configurationManager
 
- 
prismContext
@Autowired protected PrismContext prismContext
 
 - 
 
- 
Method Detail
- 
getConfiguration
public CacheConfiguration getConfiguration()
 
- 
getConfiguration
public CacheConfiguration.CacheObjectTypeConfiguration getConfiguration(Class<?> type)
 
- 
getCacheType
protected abstract CacheType getCacheType()
 
- 
hasClusterwideInvalidationFor
public <T extends ObjectType> boolean hasClusterwideInvalidationFor(Class<T> type)
 
- 
shouldDoSafeRemoteInvalidationFor
public <T extends ObjectType> boolean shouldDoSafeRemoteInvalidationFor(Class<T> type)
 
- 
clear
public abstract void clear()
 
 - 
 
 -