一. consumer的来源

    接着上一小节的内容, 还是从这一段程序(位于DocumentWriter.updateDocument(Document, Analyzer, Term) 中继续.

try {
  // This call is not synchronized and does all the
  // work
  final DocWriter perDoc = state.consumer.processDocument();
    
  // This call is synchronized but fast
  finishDocument(state, perDoc);
  success = true;
}

相关文章:

  • 2021-08-31
  • 2021-04-14
  • 2021-10-03
  • 2021-11-27
  • 2022-12-23
  • 2022-03-04
  • 2022-02-25
  • 2022-01-03
猜你喜欢
  • 2021-05-22
  • 2021-08-12
  • 2021-06-21
  • 2021-06-06
  • 2021-07-11
  • 2021-12-17
  • 2021-06-17
相关资源
相似解决方案