Package 

Class InstrumentedMemoryCache

  • All Implemented Interfaces:
    com.facebook.cache.common.HasDebugData , com.facebook.common.memory.MemoryTrimmable , com.facebook.imagepipeline.cache.MemoryCache

    
    public class InstrumentedMemoryCache<K, V>
     implements MemoryCache<K, V>
                        
    • Method Summary

      Modifier and Type Method Description
      CloseableReference<V> get(K key)
      V inspect(K key)
      void probe(K key)
      CloseableReference<V> cache(K key, CloseableReference<V> value)
      int removeAll(Predicate<K> predicate)
      boolean contains(Predicate<K> predicate)
      boolean contains(K key)
      int getCount()
      int getSizeInBytes()
      void trim(MemoryTrimType trimType)
      String getDebugData()
      • Methods inherited from class com.facebook.imagepipeline.cache.MemoryCache

        cache, contains, get, getCount, getSizeInBytes, inspect, probe, removeAll
      • Methods inherited from class com.facebook.common.memory.MemoryTrimmable

        trim
      • Methods inherited from class com.facebook.cache.common.HasDebugData

        getDebugData
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait