public class StoreModule extends AbstractModule
| Modifier and Type | Field and Description |
|---|---|
static String |
DISTIBUTOR_KEY |
static String |
LEAST_USED_DISTRIBUTOR |
static String |
RANDOM_WEIGHT_DISTRIBUTOR |
| Constructor and Description |
|---|
StoreModule(Settings settings,
IndexStore indexStore,
ShardLock lock,
Store.OnClose closeCallback) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure()
Configures a
Binder via the exposed methods. |
void |
setDistributor(Class<? extends Distributor> distributor) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic static final String DISTIBUTOR_KEY
public static final String LEAST_USED_DISTRIBUTOR
public static final String RANDOM_WEIGHT_DISTRIBUTOR
public StoreModule(Settings settings, IndexStore indexStore, ShardLock lock, Store.OnClose closeCallback)
public void setDistributor(Class<? extends Distributor> distributor)
protected void configure()
AbstractModuleBinder via the exposed methods.configure in class AbstractModuleCopyright © 2009–2016. All rights reserved.