public class AllocationDecidersModule extends AbstractModule
AllocationDeciders
that make configuration specific decisions if shards can be allocated on certain nodes.Decision,
AllocationDecider| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.ImmutableSet<Class<? extends AllocationDecider>> |
DEFAULT_ALLOCATION_DECIDERS |
| Constructor and Description |
|---|
AllocationDecidersModule(Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
AllocationDecidersModule |
add(Class<? extends AllocationDecider> allocationDecider) |
protected void |
configure()
Configures a
Binder via the exposed methods. |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic static final com.google.common.collect.ImmutableSet<Class<? extends AllocationDecider>> DEFAULT_ALLOCATION_DECIDERS
public AllocationDecidersModule(Settings settings)
public AllocationDecidersModule add(Class<? extends AllocationDecider> allocationDecider)
protected void configure()
AbstractModuleBinder via the exposed methods.configure in class AbstractModuleCopyright © 2009–2016. All rights reserved.