code: public synchronized boolean complete(Response result) {
          if (completed) {
              return false;
          }
          completed = true;
          this.result = result;
          notifyAll();
          return true;
      }
docs: Complete the Future.
  
  @param result
  The Directory Request Response.
  @return
  true for complete success.