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.AbstractModule
Base class to establish implementation-independent index bindings. To be subclassed by concrete
 index implementations, such as 
com.google.gerrit.lucene.LuceneIndexModule.- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractIndexModule(com.google.common.collect.ImmutableMap<String, Integer> singleVersions, int threads, boolean slave) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidprotected abstract Class<? extends AccountIndex>protected abstract Class<? extends ChangeIndex>protected abstract Class<? extends GroupIndex>protected IndexConfiggetIndexConfig(org.eclipse.jgit.lib.Config cfg) protected abstract Class<? extends com.google.gerrit.index.project.ProjectIndex>protected abstract Class<? extends VersionManager>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, requestInjection, requestStaticInjection, requireBinding, requireBinding
- 
Field Details- 
INDEX_MODULE- See Also:
 
 
- 
- 
Constructor Details- 
AbstractIndexModule
 
- 
- 
Method Details- 
configureprotected void configure()- Overrides:
- configurein class- com.google.inject.AbstractModule
 
- 
getAccountIndex
- 
getChangeIndex
- 
getGroupIndex
- 
getProjectIndex
- 
getVersionManager
- 
getIndexConfig
 
-