Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for redundantOpCompactThreshold (0.25 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * We only rebuild the journal when it will halve the size of the journal and eliminate at least
       * 2000 ops.
       */
      private fun journalRebuildRequired(): Boolean {
        val redundantOpCompactThreshold = 2000
        return redundantOpCount >= redundantOpCompactThreshold &&
          redundantOpCount >= lruEntries.size
      }
    
      /**
       * Drops the entry for [key] if it exists and can be removed. If the entry for [key] is currently
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top