code: private EvaluatorManager recoverEvaluatorManager(
        final String evaluatorId,
        final RemoteMessage<EvaluatorRuntimeProtocol.EvaluatorHeartbeatProto> evaluatorHeartbeatMessage) {
      final EvaluatorManager recoveredEvaluatorManager = evaluatorManagerFactory
          .getNewEvaluatorManagerForRecoveredEvaluator(
              driverRestartManager.getResourceRecoverEvent(evaluatorId));
  
      recoveredEvaluatorManager.onEvaluatorHeartbeatMessage(evaluatorHeartbeatMessage);
      return recoveredEvaluatorManager;
    }
docs: Creates an EvaluatorManager for recovered evaluator.
  {@link EvaluatorManager#onEvaluatorHeartbeatMessage(RemoteMessage)} should not
  do anything if driver restart period has expired. Expired evaluators should be immediately closed
  upon return of this function, while evaluators that have not yet expired should be recorded and added
  to the {@link Evaluators} object.