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
Modifier and TypeMethodDescriptionlong
When was the model was loaded from database.Invalidates the cache for this model and returns a delegate that represents the actual data providervoid
Invalidate the cache for this model
-
Method Details
-
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:
-