Task < EncodedImage > function ( CacheKey arg0 , AtomicBoolean arg1 ) { final EncodedImage loc0 = mStagingArea . get ( arg0 ) ; if ( loc0 != null ) { return foundPinnedImage ( arg0 , loc0 ) ; } return getAsync ( arg0 , arg1 ) ; }
performs key-value look up in disk cache . if value is not found in disk cache staging area then disk cache read is scheduled on background thread . any error manifests itself as cache miss , i.e. the returned task resolves to null . concode_field_sep Executor mWriteExecutor concode_elem_sep ImageCacheStatsTracker mImageCacheStatsTracker concode_elem_sep FileCache mFileCache concode_elem_sep Class<?> TAG concode_elem_sep PooledByteBufferFactory mPooledByteBufferFactory concode_elem_sep Executor mReadExecutor concode_elem_sep PooledByteStreams mPooledByteStreams concode_elem_sep StagingArea mStagingArea concode_field_sep Task<EncodedImage> foundPinnedImage concode_elem_sep Task<Boolean> containsAsync concode_elem_sep boolean checkInStagingAreaAndFileCache concode_elem_sep Task<Boolean> contains concode_elem_sep boolean containsSync concode_elem_sep void writeToDiskCache concode_elem_sep PooledByteBuffer readFromDiskCache concode_elem_sep boolean diskCheckSync concode_elem_sep Task<EncodedImage> getAsync concode_elem_sep void put concode_elem_sep Task<Void> remove concode_elem_sep Task<Void> clearAll