org.elasticsearch.cluster.routing.allocation
Class ClusterRebalanceNodeAllocation

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.cluster.routing.allocation.NodeAllocation
          extended by org.elasticsearch.cluster.routing.allocation.ClusterRebalanceNodeAllocation

public class ClusterRebalanceNodeAllocation
extends NodeAllocation


Nested Class Summary
static class ClusterRebalanceNodeAllocation.ClusterRebalanceType
           
 
Nested classes/interfaces inherited from class org.elasticsearch.cluster.routing.allocation.NodeAllocation
NodeAllocation.Decision
 
Field Summary
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
ClusterRebalanceNodeAllocation(Settings settings)
           
 
Method Summary
 boolean canRebalance(ShardRouting shardRouting, RoutingAllocation allocation)
           
 
Methods inherited from class org.elasticsearch.cluster.routing.allocation.NodeAllocation
allocateUnassigned, applyFailedShards, applyStartedShards, canAllocate
 
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterRebalanceNodeAllocation

@Inject
public ClusterRebalanceNodeAllocation(Settings settings)
Method Detail

canRebalance

public boolean canRebalance(ShardRouting shardRouting,
                            RoutingAllocation allocation)
Overrides:
canRebalance in class NodeAllocation