Package org.keycloak.provider
Interface InvalidationHandler
- 
- All Known Subinterfaces:
- ComponentFactoryProviderFactory,- KeycloakSessionFactory
 - All Known Implementing Classes:
- DefaultComponentFactoryProviderFactory,- DefaultKeycloakSessionFactory,- ImportSessionFactoryWrapper,- InfinispanUserCacheProviderFactory,- JpaEventStoreProviderFactory,- MapAuthorizationStoreFactory,- MapClientProviderFactory,- MapClientScopeProviderFactory,- MapEventStoreProviderFactory,- MapGroupProviderFactory,- MapRealmProviderFactory,- MapRoleProviderFactory,- MapUserLoginFailureProviderFactory,- MapUserProviderFactory,- MapUserSessionProviderFactory
 
 public interface InvalidationHandlerHandles invalidation requests. This interface is specifically implemented by providers that implement a cache of objects that might change in the outside.Note that implementors are expected to react to invalidation requests: invalidate the objects in the cache. They should not initiate invalidation of the same objects neither locally nor via network - that could result in an infinite loop. - Author:
- hmlnarik
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceInvalidationHandler.InvalidableObjectTypeTagging interface for the kinds of invalidatable objectstatic classInvalidationHandler.ObjectType
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)Invalidates intermediate states of the given objects
 
- 
- 
- 
Method Detail- 
invalidatevoid invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params) Invalidates intermediate states of the given objects- Parameters:
- session- KeycloakSession
- type- Type of the objects to invalidate
- params- Parameters used for the invalidation
 
 
- 
 
-