public static EvaluatorRestartInfo createFailedEvaluatorInfo(final String evaluatorId) {

    final ResourceRecoverEvent resourceRecoverEvent =
        ResourceEventImpl.newRecoveryBuilder().setIdentifier(evaluatorId).build();

    return new EvaluatorRestartInfo(resourceRecoverEvent, EvaluatorRestartState.FAILED);
  }
public static EvaluatorRestartInfo createFailedEvaluatorInfo ( final String evaluatorId ) { final ResourceRecoverEvent resourceRecoverEvent = ResourceEventImpl . newRecoveryBuilder ( ) . setIdentifier ( evaluatorId ) . build ( ) ; return new EvaluatorRestartInfo ( resourceRecoverEvent , EvaluatorRestartState . FAILED ) ; }
Creates an {@link EvaluatorRestartInfo} object that represents the information of an evaluator that
has failed on driver restart.