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