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 long
getCacheTimestamp()
When was the model was loaded from database.Model
getDelegateForUpdate()
Invalidates the cache for this model and returns a delegate that represents the actual data providervoid
invalidate()
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:
-
-