Interface NonPersistentCache


public interface NonPersistentCache
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addToCache(Class<?> owner, Object data)
    Stores some data associated with the given container/entry within non persistent in memory cache associated with its overlay instance.
    getFromCache(Class<?> owner)
    Obtains some data associated with the given container/entry within non persistent in memory cache associated with its overlay instance.
    void
    Removes some data associated with the given container/entry within non persistent in memory cache associated with its overlay instance.
  • Method Details

    • addToCache

      void addToCache(Class<?> owner, Object data)
      Stores some data associated with the given container/entry within non persistent in memory cache associated with its overlay instance.
      Parameters:
      owner - Class of caller setting data, allows multiple adapters to cache against a given container/entry.
      data - Data to store for caller.
    • removeFromCache

      void removeFromCache(Class<?> owner)
      Removes some data associated with the given container/entry within non persistent in memory cache associated with its overlay instance.
      Parameters:
      owner - Class of caller getting data, allows multiple adapters to cache against a given container/entry.
    • getFromCache

      Object getFromCache(Class<?> owner)
      Obtains some data associated with the given container/entry within non persistent in memory cache associated with its overlay instance.
      Parameters:
      owner - Class of caller getting data, allows multiple adapters to cache against a given container/entry.