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 Summary
Modifier and TypeMethodDescriptionvoid
@NotNull Collection<SingleCacheStateInformationType>
void
invalidate
(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:
getEventSpecifications
in interfaceCacheInvalidationListener
-
invalidate
default <O extends ObjectType> void invalidate(Class<O> type, String oid, boolean clusterwide, CacheInvalidationContext context) Description copied from interface:CacheInvalidationListener
Invalidates given object(s) in all relevant caches.- Specified by:
invalidate
in interfaceCacheInvalidationListener
- 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
-
dumpContent
void dumpContent()
-