Class FileDiffWeigher
java.lang.Object
com.google.gerrit.server.patch.filediff.FileDiffWeigher
- All Implemented Interfaces:
- com.google.common.cache.Weigher<FileDiffCacheKey,- FileDiffOutput> 
public class FileDiffWeigher
extends Object
implements com.google.common.cache.Weigher<FileDiffCacheKey,FileDiffOutput> 
A weigher for the 
FileDiffCache key and value. This is used by the cache backend to
 assign weights for cache entries and is used for evictions.- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
FileDiffWeigherpublic FileDiffWeigher()
 
- 
- 
Method Details- 
weigh- Specified by:
- weighin interface- com.google.common.cache.Weigher<FileDiffCacheKey,- FileDiffOutput> 
 
 
-