Package com.google.gerrit.server.git
Class SearchingChangeCacheImpl
- java.lang.Object
- 
- com.google.gerrit.server.git.SearchingChangeCacheImpl
 
- 
- All Implemented Interfaces:
- GitReferenceUpdatedListener
 
 public class SearchingChangeCacheImpl extends Object implements GitReferenceUpdatedListener 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSearchingChangeCacheImpl.Module- 
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.events.GitReferenceUpdatedListenerGitReferenceUpdatedListener.Event
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ChangeData>getChangeData(ReviewDb db, Project.NameKey project)Read changes for the project from the secondary index.voidonGitReferenceUpdated(GitReferenceUpdatedListener.Event event)
 
- 
- 
- 
Method Detail- 
getChangeDatapublic List<ChangeData> getChangeData(ReviewDb db, Project.NameKey project) Read changes for the project from the secondary index.Returned changes only include the Changeobject (with id, branch) and the reviewers. Additional stored fields are not loaded from the index.- Parameters:
- db- database handle to populate missing change data (probably unused).
- project- project to read.
- Returns:
- list of known changes; empty if no changes.
 
 - 
onGitReferenceUpdatedpublic void onGitReferenceUpdated(GitReferenceUpdatedListener.Event event) - Specified by:
- onGitReferenceUpdatedin interface- GitReferenceUpdatedListener
 
 
- 
 
-