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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractIndexModule(Map<String,Integer> singleVersions, int threads, boolean slave)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
configure()
protected abstract Class<? extends AccountIndex>
getAccountIndex()
protected abstract Class<? extends ChangeIndex>
getChangeIndex()
protected abstract Class<? extends GroupIndex>
getGroupIndex()
protected IndexConfig
getIndexConfig(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.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configure
in classcom.google.inject.AbstractModule
-
getAccountIndex
protected abstract Class<? extends AccountIndex> getAccountIndex()
-
getChangeIndex
protected abstract Class<? extends ChangeIndex> getChangeIndex()
-
getGroupIndex
protected abstract Class<? extends GroupIndex> getGroupIndex()
-
getProjectIndex
protected abstract Class<? extends com.google.gerrit.index.project.ProjectIndex> getProjectIndex()
-
getVersionManager
protected abstract Class<? extends VersionManager> getVersionManager()
-
getIndexConfig
protected IndexConfig getIndexConfig(org.eclipse.jgit.lib.Config cfg)
-
-