Package com.google.gerrit.server.index
Class AbstractIndexModule
- java.lang.Object
- 
- com.google.inject.AbstractModule
- 
- com.google.gerrit.server.index.AbstractIndexModule
 
 
- 
- All Implemented Interfaces:
- com.google.inject.Module
 
 public abstract class AbstractIndexModule extends com.google.inject.AbstractModuleBase class to establish implementation-independent index bindings. To be subclassed by concrete index implementations, such ascom.google.gerrit.lucene.LuceneIndexModule.
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractIndexModule(Map<String,Integer> singleVersions, int threads, boolean slave)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidconfigure()protected abstract Class<? extends AccountIndex>getAccountIndex()protected abstract Class<? extends ChangeIndex>getChangeIndex()protected abstract Class<? extends GroupIndex>getGroupIndex()protected IndexConfiggetIndexConfig(org.eclipse.jgit.lib.Config cfg)protected abstract Class<? extends com.google.gerrit.index.project.ProjectIndex>getProjectIndex()protected abstract Class<? extends VersionManager>getVersionManager()- 
Methods inherited from class com.google.inject.AbstractModuleaddError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
- 
 
- 
- 
- 
Method Detail- 
configureprotected void configure() - Overrides:
- configurein class- com.google.inject.AbstractModule
 
 - 
getAccountIndexprotected abstract Class<? extends AccountIndex> getAccountIndex() 
 - 
getChangeIndexprotected abstract Class<? extends ChangeIndex> getChangeIndex() 
 - 
getGroupIndexprotected abstract Class<? extends GroupIndex> getGroupIndex() 
 - 
getProjectIndexprotected abstract Class<? extends com.google.gerrit.index.project.ProjectIndex> getProjectIndex() 
 - 
getVersionManagerprotected abstract Class<? extends VersionManager> getVersionManager() 
 - 
getIndexConfigprotected IndexConfig getIndexConfig(org.eclipse.jgit.lib.Config cfg) 
 
- 
 
-