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 SummaryAll 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- 
getDelegateForUpdateModel getDelegateForUpdate() Invalidates the cache for this model and returns a delegate that represents the actual data provider- Returns:
 
 - 
invalidatevoid invalidate() Invalidate the cache for this model
 - 
getCacheTimestamplong getCacheTimestamp() When was the model was loaded from database.- Returns:
 
 
- 
 
-