code: private synchronized void onEvaluatorDone(final EvaluatorStatusPOJO message) {
  
      assert message.getState() == State.DONE;
  
      LOG.log(Level.FINEST, "Evaluator {0} done.", getId());
  
      // Send an ACK to the Evaluator.
      sendEvaluatorControlMessage(
          EvaluatorRuntimeProtocol.EvaluatorControlProto.newBuilder()
              .setTimestamp(System.currentTimeMillis())
              .setIdentifier(getId())
              .setDoneEvaluator(EvaluatorRuntimeProtocol.DoneEvaluatorProto.newBuilder().build())
              .build());
  
      this.stateManager.setDone();
      this.messageDispatcher.onEvaluatorCompleted(new CompletedEvaluatorImpl(this.evaluatorId));
  
      this.close();
    }
docs: Process an evaluator message that indicates that the evaluator shut down cleanly.
  
  @param message