Uses of Class
cloud.opencode.base.pool.PoolConfig.Builder
Packages that use PoolConfig.Builder
Package
Description
Pool Package - High-Performance Object Pool (JDK 25)
Pool包 - 高性能对象池 (JDK 25)
-
Uses of PoolConfig.Builder in cloud.opencode.base.pool
Methods in cloud.opencode.base.pool that return PoolConfig.BuilderModifier and TypeMethodDescriptionstatic PoolConfig.BuilderPoolConfig.builder()Creates a builder for PoolConfig.static PoolConfig.BuilderOpenPool.configBuilder()Creates a pool configuration builder.PoolConfig.Builder.eventListener(PoolEventListener<?> eventListener) Sets the pool event listener.PoolConfig.Builder.evictionPolicy(EvictionPolicy<?> policy) Sets the eviction policy.PoolConfig.Builder.lifo(boolean lifo) Sets LIFO ordering.PoolConfig.Builder.maxIdle(int maxIdle) Sets the maximum idle objects.PoolConfig.Builder.maxObjectLifetime(Duration maxObjectLifetime) Sets the maximum object lifetime before forced eviction.PoolConfig.Builder.maxTotal(int maxTotal) Sets the maximum total objects.Sets the maximum wait time.PoolConfig.Builder.minEvictableIdleTime(Duration duration) Sets the minimum evictable idle time.PoolConfig.Builder.minIdle(int minIdle) Sets the minimum idle objects.PoolConfig.Builder.numTestsPerEvictionRun(int numTests) Sets the number of tests per eviction run.PoolConfig.Builder.testOnBorrow(boolean test) Sets whether to test on borrow.PoolConfig.Builder.testOnCreate(boolean test) Sets whether to test on create.PoolConfig.Builder.testOnReturn(boolean test) Sets whether to test on return.PoolConfig.Builder.testWhileIdle(boolean test) Sets whether to test while idle.PoolConfig.Builder.timeBetweenEvictionRuns(Duration duration) Sets the time between eviction runs.PoolConfig.Builder.waitPolicy(WaitPolicy policy) Sets the wait policy.