Exemplo n.º 1
0
 @Override
 public boolean allocateUnassigned(RoutingAllocation allocation) {
   boolean changed = false;
   changed |= gatewayAllocator.allocateUnassigned(allocation);
   changed |= allocator.allocateUnassigned(allocation);
   return changed;
 }
Exemplo n.º 2
0
 @Override
 public boolean move(
     MutableShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation) {
   return allocator.move(shardRouting, node, allocation);
 }
Exemplo n.º 3
0
 @Override
 public boolean rebalance(RoutingAllocation allocation) {
   return allocator.rebalance(allocation);
 }
Exemplo n.º 4
0
 @Override
 public void applyFailedShards(FailedRerouteAllocation allocation) {
   gatewayAllocator.applyFailedShards(allocation);
   allocator.applyFailedShards(allocation);
 }