Package com.google.gerrit.server.git
Class ChangesByProjectCacheImpl
java.lang.Object
com.google.gerrit.server.git.ChangesByProjectCacheImpl
- All Implemented Interfaces:
- ChangesByProjectCache
Lightweight cache of changes in each project.
 
This cache is intended to be used when filtering references and stores only the minimal fields required for a read permission check.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface com.google.gerrit.server.git.ChangesByProjectCacheChangesByProjectCache.UseIndex
- 
Method SummaryModifier and TypeMethodDescriptionstreamChangeDatas(Project.NameKey project, org.eclipse.jgit.lib.Repository repo) Stream changeDatas for the project
- 
Method Details- 
streamChangeDataspublic Stream<ChangeData> streamChangeDatas(Project.NameKey project, org.eclipse.jgit.lib.Repository repo) throws IOException Stream changeDatas for the project- Specified by:
- streamChangeDatasin interface- ChangesByProjectCache
- Parameters:
- project- project to read.
- repo- repository for the project to read.
- Returns:
- Stream of known changes; empty if no changes.
- Throws:
- IOException
 
 
-