Package com.evolveum.midpoint.repo.api
Interface Cache
- All Superinterfaces:
- CacheInvalidationListener
- All Known Implementing Classes:
- ArchetypeManager,- ExpressionFactory,- FunctionLibraryManager,- RepositoryCache,- SystemConfigurationCacheAdapter,- SystemObjectCache,- TriggerCreatorGlobalState
Defines basic contract for local caches (various caching components or services).
- 
Method SummaryModifier and TypeMethodDescriptionvoid@NotNull Collection<SingleCacheStateInformationType>voidinvalidate(Class<?> type, String oid, CacheInvalidationContext context) default <O extends ObjectType>
 voidinvalidate(Class<O> type, String oid, boolean clusterwide, CacheInvalidationContext context) Invalidates given object(s) in all relevant caches.
- 
Method Details- 
getEventSpecifications- Specified by:
- getEventSpecificationsin interface- CacheInvalidationListener
 
- 
invalidatedefault <O extends ObjectType> void invalidate(Class<O> type, String oid, boolean clusterwide, CacheInvalidationContext context) Description copied from interface:CacheInvalidationListenerInvalidates given object(s) in all relevant caches.- Specified by:
- invalidatein interface- CacheInvalidationListener
- Parameters:
- type- Type of object (null means all types).
- oid- OID of object (null means all object(s) of given type(s)).
- clusterwide- Whether to distribute this event clusterwide.
- context- Context of the invalidation request (optional).
 
- 
invalidate
- 
getStateInformation
- 
dumpContentvoid dumpContent()
 
-