public class PatchListCacheImpl extends java.lang.Object implements PatchListCache
PatchListEntry.| Modifier and Type | Class and Description |
|---|---|
static class |
PatchListCacheImpl.LargeObjectTombstone
Used to cache negative results in
fileCache. |
| Modifier and Type | Method and Description |
|---|---|
PatchList |
get(Change change,
PatchSet patchSet) |
PatchList |
get(PatchListKey key,
Project.NameKey project) |
DiffSummary |
getDiffSummary(DiffSummaryKey key,
Project.NameKey project) |
IntraLineDiff |
getIntraLineDiff(IntraLineDiffKey key,
IntraLineDiffArgs args) |
org.eclipse.jgit.lib.ObjectId |
getOldId(Change change,
PatchSet patchSet,
java.lang.Integer parentNum) |
static com.google.inject.Module |
module() |
public static com.google.inject.Module module()
public PatchList get(PatchListKey key, Project.NameKey project) throws PatchListNotAvailableException
get in interface PatchListCachePatchListNotAvailableExceptionpublic PatchList get(Change change, PatchSet patchSet) throws PatchListNotAvailableException
get in interface PatchListCachePatchListNotAvailableExceptionpublic org.eclipse.jgit.lib.ObjectId getOldId(Change change, PatchSet patchSet, java.lang.Integer parentNum) throws PatchListNotAvailableException
getOldId in interface PatchListCachePatchListNotAvailableExceptionpublic IntraLineDiff getIntraLineDiff(IntraLineDiffKey key, IntraLineDiffArgs args)
getIntraLineDiff in interface PatchListCachepublic DiffSummary getDiffSummary(DiffSummaryKey key, Project.NameKey project) throws PatchListNotAvailableException
getDiffSummary in interface PatchListCachePatchListNotAvailableException