提交 8ca08178 编写于 作者: B Brendan MacDonell 提交者: Facebook GitHub Bot

Correct javadoc for Env#setBackgroundThreads(int) (#8576)

Summary:
By default, the low priority pool is not the flush pool, so calling `Env#setBackgroundThreads` without providing a priority will not do what the caller expected.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8576

Reviewed By: ajkr

Differential Revision: D29925154

Pulled By: mrambacher

fbshipit-source-id: cd7211fc374e7d9929a9b88ea0a5ba8134b76099
上级 d057e832
......@@ -43,8 +43,8 @@ public abstract class Env extends RocksObject {
}
/**
* <p>Sets the number of background worker threads of the flush pool
* for this environment.</p>
* <p>Sets the number of background worker threads of the low priority
* pool for this environment.</p>
* <p>Default number: 1</p>
*
* @param number the number of threads
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册