Schnittstelle ILRUCacheable


public interface ILRUCacheable
Types implementing this interface can occupy a variable amount of space in an LRUCache. Cached items that do not implement this interface are considered to occupy one unit of space.
Siehe auch:
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    Returns the space the receiver consumes in an LRU Cache.
  • Methodendetails

    • getCacheFootprint

      int getCacheFootprint()
      Returns the space the receiver consumes in an LRU Cache. The default space value is 1.
      Gibt zurück:
      int Amount of cache space taken by the receiver