Class GitModifiedFilesCacheImpl
java.lang.Object
com.google.gerrit.server.patch.gitdiff.GitModifiedFilesCacheImpl
- All Implemented Interfaces:
- GitModifiedFilesCache
Implementation of the 
GitModifiedFilesCache- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionGitModifiedFilesCacheImpl(com.google.common.cache.LoadingCache<GitModifiedFilesCacheKey, com.google.common.collect.ImmutableList<ModifiedFile>> cache) 
- 
Method SummaryModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<ModifiedFile>Computes the list of ofModifiedFiles between the 2 git trees.static com.google.inject.Modulemodule()
- 
Constructor Details- 
GitModifiedFilesCacheImpl@Inject public GitModifiedFilesCacheImpl(com.google.common.cache.LoadingCache<GitModifiedFilesCacheKey, com.google.common.collect.ImmutableList<ModifiedFile>> cache) 
 
- 
- 
Method Details- 
modulepublic static com.google.inject.Module module()
- 
getpublic com.google.common.collect.ImmutableList<ModifiedFile> get(GitModifiedFilesCacheKey key) throws DiffNotAvailableException Description copied from interface:GitModifiedFilesCacheComputes the list of ofModifiedFiles between the 2 git trees.- Specified by:
- getin interface- GitModifiedFilesCache
- Parameters:
- key- used to identify two git trees and contains other attributes to control the diff calculation.
- Returns:
- the list of ModifiedFiles between the 2 git trees identified by the key.
- Throws:
- DiffNotAvailableException- trees cannot be read or file contents cannot be read.
 
 
-