private DiskStorage . Inserter startInsert ( final String resourceId , final CacheKey key ) throws IOException { maybeEvictFilesInCacheDir ( ) ; return mStorage . insert ( resourceId , key ) ; }
Creates a temp file for writing outside the session lock