Package com.google.gerrit.server.patch
Class PatchListCacheImpl
- java.lang.Object
- 
- com.google.gerrit.server.patch.PatchListCacheImpl
 
- 
- All Implemented Interfaces:
- PatchListCache
 
 public class PatchListCacheImpl extends Object implements PatchListCache Provides a cached list ofPatchListEntry.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPatchListCacheImpl.LargeObjectTombstoneUsed to cache negative results infileCache.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchListget(Change change, PatchSet patchSet)PatchListget(PatchListKey key, Project.NameKey project)DiffSummarygetDiffSummary(DiffSummaryKey key, Project.NameKey project)IntraLineDiffgetIntraLineDiff(IntraLineDiffKey key, IntraLineDiffArgs args)org.eclipse.jgit.lib.ObjectIdgetOldId(Change change, PatchSet patchSet, Integer parentNum)static com.google.inject.Modulemodule()
 
- 
- 
- 
Method Detail- 
modulepublic static com.google.inject.Module module() 
 - 
getpublic PatchList get(PatchListKey key, Project.NameKey project) throws PatchListNotAvailableException - Specified by:
- getin interface- PatchListCache
- Throws:
- PatchListNotAvailableException
 
 - 
getpublic PatchList get(Change change, PatchSet patchSet) throws PatchListNotAvailableException - Specified by:
- getin interface- PatchListCache
- Throws:
- PatchListNotAvailableException
 
 - 
getOldIdpublic org.eclipse.jgit.lib.ObjectId getOldId(Change change, PatchSet patchSet, Integer parentNum) throws PatchListNotAvailableException - Specified by:
- getOldIdin interface- PatchListCache
- Throws:
- PatchListNotAvailableException
 
 - 
getIntraLineDiffpublic IntraLineDiff getIntraLineDiff(IntraLineDiffKey key, IntraLineDiffArgs args) - Specified by:
- getIntraLineDiffin interface- PatchListCache
 
 - 
getDiffSummarypublic DiffSummary getDiffSummary(DiffSummaryKey key, Project.NameKey project) throws PatchListNotAvailableException - Specified by:
- getDiffSummaryin interface- PatchListCache
- Throws:
- PatchListNotAvailableException
 
 
- 
 
-