/** {@inheritDoc} */
  @Nullable
  @Override
  protected Map<UUID, IgniteBiTuple<Long, List<IgniteExceptionRegistry.ExceptionInfo>>> reduce0(
      List<ComputeJobResult> results) {
    Map<UUID, IgniteBiTuple<Long, List<IgniteExceptionRegistry.ExceptionInfo>>> taskRes =
        new HashMap<>(results.size());

    for (ComputeJobResult res : results) {
      IgniteBiTuple<Long, List<IgniteExceptionRegistry.ExceptionInfo>> jobRes = res.getData();

      taskRes.put(res.getNode().id(), jobRes);
    }

    return taskRes;
  }
  /** {@inheritDoc} */
  @Override
  public ComputeJobResultPolicy result(ComputeJobResult res, List<ComputeJobResult> rcvd) {
    if (res.getException() != null) return FAILOVER;

    return WAIT;
  }