Пример #1
0
 @Override
 public boolean allocateUnassigned(RoutingAllocation allocation) {
   boolean changed = false;
   changed |= gatewayAllocator.allocateUnassigned(allocation);
   changed |= allocator.allocateUnassigned(allocation);
   return changed;
 }
Пример #2
0
 @Override
 public void applyFailedShards(FailedRerouteAllocation allocation) {
   gatewayAllocator.applyFailedShards(allocation);
   allocator.applyFailedShards(allocation);
 }