Class GitFileDiffWeigher
- java.lang.Object
-
- com.google.gerrit.server.patch.gitfilediff.GitFileDiffWeigher
-
- All Implemented Interfaces:
com.google.common.cache.Weigher<GitFileDiffCacheKey,GitFileDiff>
public class GitFileDiffWeigher extends Object implements com.google.common.cache.Weigher<GitFileDiffCacheKey,GitFileDiff>
-
-
Constructor Summary
Constructors Constructor Description GitFileDiffWeigher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
weigh(GitFileDiffCacheKey key, GitFileDiff gitFileDiff)
-
-
-
Method Detail
-
weigh
public int weigh(GitFileDiffCacheKey key, GitFileDiff gitFileDiff)
- Specified by:
weigh
in interfacecom.google.common.cache.Weigher<GitFileDiffCacheKey,GitFileDiff>
-
-