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 void applyFailedShards(FailedRerouteAllocation allocation) {
   gatewayAllocator.applyFailedShards(allocation);
   allocator.applyFailedShards(allocation);
 }