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 Type
    Method
    Description
    long
    When was the model was loaded from database.
    Invalidates the cache for this model and returns a delegate that represents the actual data provider
    void
    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: