code: @Override
      public <T> T invokeAny(Collection<? extends Callable<T>> tasks) throws InterruptedException, ExecutionException {
          Entry<Collection<? extends Callable<T>>, TaskLifeCycleCallback[]> entry = createCallbacks(tasks);
          tasks = entry.getKey();
          TaskLifeCycleCallback[] callbacks = entry.getValue();
  
          PolicyExecutor executor = callbacks.length > 0 ? callbacks[0].policyExecutor : policyExecutor;
          return executor.invokeAny(tasks, callbacks);
      }
docs: {@inheritDoc}