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 Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
FileDiffWeigher
public FileDiffWeigher() 
 - 
 - 
Method Details
- 
weigh
- Specified by:
 weighin interfacecom.google.common.cache.Weigher<FileDiffCacheKey,FileDiffOutput> 
 
 -