From 8ca081780b066fdd902a02814708715f19e73988 Mon Sep 17 00:00:00 2001 From: Brendan MacDonell Date: Fri, 6 Aug 2021 08:51:05 -0700 Subject: [PATCH] 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 --- java/src/main/java/org/rocksdb/Env.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/src/main/java/org/rocksdb/Env.java b/java/src/main/java/org/rocksdb/Env.java index 719296a14e..07b5319bb8 100644 --- a/java/src/main/java/org/rocksdb/Env.java +++ b/java/src/main/java/org/rocksdb/Env.java @@ -43,8 +43,8 @@ public abstract class Env extends RocksObject { } /** - *

Sets the number of background worker threads of the flush pool - * for this environment.

+ *

Sets the number of background worker threads of the low priority + * pool for this environment.

*

Default number: 1

* * @param number the number of threads