Interface CachedRealmModel

All Superinterfaces:
LegacyRealmModel, RealmModel, RoleContainerModel
All Known Implementing Classes:
RealmAdapter

public interface CachedRealmModel extends LegacyRealmModel
Cached realms will implement this interface
Version:
$Revision: 1 $
Author:
Bill Burke
  • Method Details

    • getDelegateForUpdate

      RealmModel 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:
    • getCachedWith

      ConcurrentHashMap getCachedWith()
      Returns a map that contains custom things that are cached along with this model. You can write to this map.
      Returns: