MCPcopy Create free account
hub / github.com/bytedance/terarkdb / setBackgroundThreads

Method setBackgroundThreads

java/src/main/java/org/rocksdb/Env.java:39–41  ·  view source on GitHub ↗

Sets the number of background worker threads of the flush pool for this environment. Default number: 1 @param num the number of threads @return current RocksEnv instance.

(final int num)

Source from the content-addressed store, hash-verified

37 * @return current {@link RocksEnv} instance.
38 */
39 public Env setBackgroundThreads(final int num) {
40 return setBackgroundThreads(num, FLUSH_POOL);
41 }
42
43 /**
44 * <p>Sets the number of background worker threads of the specified thread

Callers 2

prepareOptionsMethod · 0.80
rocksEnvMethod · 0.80

Calls

no outgoing calls

Tested by 1

rocksEnvMethod · 0.64