org.elasticsearch.cluster.routing.allocation.allocator
Interface ShardsAllocator
- All Known Implementing Classes:
- EvenShardsCountAllocator, ShardsAllocators
public interface ShardsAllocator
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.