Package com.evolveum.midpoint.repo.api
Interface CacheInvalidationListener
-
- All Known Subinterfaces:
Cache,CacheListener
- All Known Implementing Classes:
ArchetypeManager,CacheRegistryImpl,ClusterCacheListener,ExpressionFactory,GuiProfiledPrincipalManagerImpl,RepositoryCache,ScriptExpressionFactory,SystemConfigurationCacheAdapter,SystemObjectCache,TriggerCreatorGlobalState
public interface CacheInvalidationListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<CacheInvalidationEventSpecification>getEventSpecifications()<O extends ObjectType>
voidinvalidate(Class<O> type, String oid, boolean clusterwide, CacheInvalidationContext context)Invalidates given object(s) in all relevant caches.
-
-
-
Method Detail
-
getEventSpecifications
Collection<CacheInvalidationEventSpecification> getEventSpecifications()
-
invalidate
<O extends ObjectType> void invalidate(Class<O> type, String oid, boolean clusterwide, CacheInvalidationContext context)
Invalidates given object(s) in all relevant caches.- 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).
-
-