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, requireBinding
public 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()
AbstractModule
Binder
via the exposed methods.configure
in class AbstractModule
Copyright © 2009–2015. All rights reserved.