spring-framework / org.springframework.aop.target / CommonsPool2TargetSource / setTimeBetweenEvictionRunsMillis

setTimeBetweenEvictionRunsMillis

open fun setTimeBetweenEvictionRunsMillis(timeBetweenEvictionRunsMillis: Long): Unit

Set the time between eviction runs that check idle objects whether they have been idle for too long or have become invalid. Default is -1, not performing any eviction.

See Also
GenericObjectPool#setTimeBetweenEvictionRunsMillis