Package org.keycloak.provider
Interface InvalidationHandler
-
- All Known Subinterfaces:
KeycloakSession,KeycloakSessionFactory
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 Summary
Nested Classes Modifier and Type Interface Description static interfaceInvalidationHandler.InvalidableObjectTypeTagging interface for the kinds of invalidatable objectstatic classInvalidationHandler.ObjectType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvalidate(InvalidationHandler.InvalidableObjectType type, Object... ids)Invalidates intermediate states of the given objects
-
-
-
Method Detail
-
invalidate
void invalidate(InvalidationHandler.InvalidableObjectType type, Object... ids)
Invalidates intermediate states of the given objects- Parameters:
type- Type of the objects to invalidateids- Identifiers of the invalidated objects
-
-