public class

ScoreBasedEvictionComparatorSupplier

extends Object
implements EntryEvictionComparatorSupplier
java.lang.Object
   ↳ com.facebook.cache.disk.ScoreBasedEvictionComparatorSupplier

Class Overview

Evicts cache items based on a mix of their size and timestamp.

Summary

Public Constructors
ScoreBasedEvictionComparatorSupplier(float ageWeight, float sizeWeight)
Public Methods
EntryEvictionComparator get()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.cache.disk.EntryEvictionComparatorSupplier

Public Constructors

public ScoreBasedEvictionComparatorSupplier (float ageWeight, float sizeWeight)

Public Methods

public EntryEvictionComparator get ()