public class ClusterModule extends AbstractModule
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BALANCED_ALLOCATOR |
static Setting<java.lang.String> |
SHARDS_ALLOCATOR_TYPE_SETTING |
Constructor and Description |
---|
ClusterModule(Settings settings,
ClusterService clusterService,
java.util.List<ClusterPlugin> clusterPlugins) |
Modifier and Type | Method and Description |
---|---|
protected void |
configure()
Configures a
Binder via the exposed methods. |
static java.util.Collection<AllocationDecider> |
createAllocationDeciders(Settings settings,
ClusterSettings clusterSettings,
java.util.List<ClusterPlugin> clusterPlugins)
Return a new
AllocationDecider instance with builtin deciders as well as those from plugins. |
IndexNameExpressionResolver |
getIndexNameExpressionResolver() |
static java.util.List<NamedWriteableRegistry.Entry> |
getNamedWriteables() |
static java.util.List<NamedXContentRegistry.Entry> |
getNamedXWriteables() |
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 java.lang.String BALANCED_ALLOCATOR
public static final Setting<java.lang.String> SHARDS_ALLOCATOR_TYPE_SETTING
public ClusterModule(Settings settings, ClusterService clusterService, java.util.List<ClusterPlugin> clusterPlugins)
public static java.util.List<NamedWriteableRegistry.Entry> getNamedWriteables()
public static java.util.List<NamedXContentRegistry.Entry> getNamedXWriteables()
public IndexNameExpressionResolver getIndexNameExpressionResolver()
public static java.util.Collection<AllocationDecider> createAllocationDeciders(Settings settings, ClusterSettings clusterSettings, java.util.List<ClusterPlugin> clusterPlugins)
AllocationDecider
instance with builtin deciders as well as those from plugins.protected void configure()
AbstractModule
Binder
via the exposed methods.configure
in class AbstractModule