org.elasticsearch.cluster.routing.allocation.decider
Class ConcurrentRebalanceAllocationDecider
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider
org.elasticsearch.cluster.routing.allocation.decider.ConcurrentRebalanceAllocationDecider
public class ConcurrentRebalanceAllocationDecider
- extends AllocationDecider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcurrentRebalanceAllocationDecider
@Inject
public ConcurrentRebalanceAllocationDecider(Settings settings,
NodeSettingsService nodeSettingsService)
canRebalance
public boolean canRebalance(ShardRouting shardRouting,
RoutingAllocation allocation)
- Overrides:
canRebalance
in class AllocationDecider
Copyright © 2009-2012. All Rights Reserved.