Package org.keycloak.authorization.model
Interface CachedModel<Model>
-
- All Known Implementing Classes:
PermissionTicketAdapter,PolicyAdapter,ResourceAdapter,ResourceServerAdapter,ScopeAdapter
public interface CachedModel<Model>Cached authorization model classes will implement this interface.- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCacheTimestamp()When was the model was loaded from database.ModelgetDelegateForUpdate()Invalidates the cache for this model and returns a delegate that represents the actual data providervoidinvalidate()Invalidate the cache for this model
-
-
-
Method Detail
-
getDelegateForUpdate
Model getDelegateForUpdate()
Invalidates the cache for this model and returns a delegate that represents the actual data provider- Returns:
-
invalidate
void invalidate()
Invalidate the cache for this model
-
getCacheTimestamp
long getCacheTimestamp()
When was the model was loaded from database.- Returns:
-
-