org.elasticsearch.cluster.routing.allocation.allocator
Interface ShardsAllocator

All Known Implementing Classes:
EvenShardsCountAllocator, ShardsAllocators

public interface ShardsAllocator


Method Summary
 boolean allocateUnassigned(RoutingAllocation allocation)
           
 void applyFailedShards(FailedRerouteAllocation allocation)
           
 void applyStartedShards(StartedRerouteAllocation allocation)
           
 boolean move(MutableShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)
           
 boolean rebalance(RoutingAllocation allocation)
           
 

Method Detail

applyStartedShards

void applyStartedShards(StartedRerouteAllocation allocation)

applyFailedShards

void applyFailedShards(FailedRerouteAllocation allocation)

allocateUnassigned

boolean allocateUnassigned(RoutingAllocation allocation)

rebalance

boolean rebalance(RoutingAllocation allocation)

move

boolean move(MutableShardRouting shardRouting,
             RoutingNode node,
             RoutingAllocation allocation)


Copyright © 2009-2012. All Rights Reserved.