This is an automated email from the ASF dual-hosted git repository.
shoothzj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new c8e2e2831f Remove deprecated method setAllocatorPoolingConcurrenncy
(#4431)
c8e2e2831f is described below
commit c8e2e2831f410e522e0ee707c33b6780e981a9e5
Author: hudeqi <[email protected]>
AuthorDate: Thu Jun 13 16:57:56 2024 +0800
Remove deprecated method setAllocatorPoolingConcurrenncy (#4431)
---
.../apache/bookkeeper/conf/AbstractConfiguration.java | 18 ------------------
1 file changed, 18 deletions(-)
diff --git
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/AbstractConfiguration.java
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/AbstractConfiguration.java
index cecd3773e7..ea1576a4c7 100644
---
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/AbstractConfiguration.java
+++
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/AbstractConfiguration.java
@@ -1087,24 +1087,6 @@ public abstract class AbstractConfiguration<T extends
AbstractConfiguration>
return this.getInteger(ALLOCATOR_POOLING_CONCURRENCY,
PooledByteBufAllocator.defaultNumDirectArena());
}
- /**
- * Controls the amount of concurrency for the memory pool.
- *
- * <p>Default is to have a number of allocator arenas equals to 2 * CPUS.
- *
- * <p>Decreasing this number will reduce the amount of memory overhead, at
the
- * expense of increased allocation contention.
- *
- * @param concurrency
- * the concurrency level to use for the allocator pool
- * @return configuration object.
- */
- @Deprecated
- public T setAllocatorPoolingConcurrenncy(int concurrency) {
- this.setProperty(ALLOCATOR_POOLING_POLICY, concurrency);
- return getThis();
- }
-
/**
* Controls the amount of concurrency for the memory pool.
*