org.elasticsearch.cluster.routing.allocation.allocator
Class ShardsAllocatorModule
java.lang.Object
org.elasticsearch.common.inject.AbstractModule
org.elasticsearch.cluster.routing.allocation.allocator.ShardsAllocatorModule
- All Implemented Interfaces:
- Module
public class ShardsAllocatorModule
- extends AbstractModule
Methods inherited from class org.elasticsearch.common.inject.AbstractModule |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShardsAllocatorModule
public ShardsAllocatorModule(Settings settings)
setGatewayAllocator
public void setGatewayAllocator(Class<? extends GatewayAllocator> gatewayAllocator)
setShardsAllocator
public void setShardsAllocator(Class<? extends ShardsAllocator> shardsAllocator)
configure
protected void configure()
- Description copied from class:
AbstractModule
- Configures a
Binder
via the exposed methods.
- Specified by:
configure
in class AbstractModule
Copyright © 2009-2012. All Rights Reserved.