"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "spring-boot-project/spring-boot/src/main/java/org/springframework/boot/r2dbc/ConnectionFactoryBuilder.java" between
spring-boot-2.7.3.tar.gz and spring-boot-2.7.4.tar.gz

About: Spring Boot helps to create Spring-powered, production-grade applications and services.

ConnectionFactoryBuilder.java  (spring-boot-2.7.3):ConnectionFactoryBuilder.java  (spring-boot-2.7.4)
skipping to change at line 247 skipping to change at line 247
map.from(options.getValue(PoolingConnectionFactoryProvide r.ACQUIRE_RETRY)).as(this::toInteger) map.from(options.getValue(PoolingConnectionFactoryProvide r.ACQUIRE_RETRY)).as(this::toInteger)
.to(builder::acquireRetry); .to(builder::acquireRetry);
map.from(options.getValue(PoolingConnectionFactoryProvide r.MAX_LIFE_TIME)).as(this::toDuration) map.from(options.getValue(PoolingConnectionFactoryProvide r.MAX_LIFE_TIME)).as(this::toDuration)
.to(builder::maxLifeTime); .to(builder::maxLifeTime);
map.from(options.getValue(PoolingConnectionFactoryProvide r.MAX_ACQUIRE_TIME)).as(this::toDuration) map.from(options.getValue(PoolingConnectionFactoryProvide r.MAX_ACQUIRE_TIME)).as(this::toDuration)
.to(builder::maxAcquireTime); .to(builder::maxAcquireTime);
map.from(options.getValue(PoolingConnectionFactoryProvide r.MAX_IDLE_TIME)).as(this::toDuration) map.from(options.getValue(PoolingConnectionFactoryProvide r.MAX_IDLE_TIME)).as(this::toDuration)
.to(builder::maxIdleTime); .to(builder::maxIdleTime);
map.from(options.getValue(PoolingConnectionFactoryProvide r.MAX_CREATE_CONNECTION_TIME)).as(this::toDuration) map.from(options.getValue(PoolingConnectionFactoryProvide r.MAX_CREATE_CONNECTION_TIME)).as(this::toDuration)
.to(builder::maxCreateConnectionTime); .to(builder::maxCreateConnectionTime);
map.from(options.getValue(PoolingConnectionFactoryProvide
r.MAX_VALIDATION_TIME)).as(this::toDuration)
.to(builder::maxValidationTime);
map.from(options.getValue(PoolingConnectionFactoryProvide
r.MIN_IDLE)).as(this::toInteger)
.to(builder::minIdle);
map.from(options.getValue(PoolingConnectionFactoryProvide r.POOL_NAME)).as(this::toString).to(builder::name); map.from(options.getValue(PoolingConnectionFactoryProvide r.POOL_NAME)).as(this::toString).to(builder::name);
map.from(options.getValue(PoolingConnectionFactoryProvide r.PRE_RELEASE)).to((function) -> builder map.from(options.getValue(PoolingConnectionFactoryProvide r.PRE_RELEASE)).to((function) -> builder
.preRelease((Function<? super Connection, ? extends Publisher<Void>>) function)); .preRelease((Function<? super Connection, ? extends Publisher<Void>>) function));
map.from(options.getValue(PoolingConnectionFactoryProvide r.POST_ALLOCATE)).to((function) -> builder map.from(options.getValue(PoolingConnectionFactoryProvide r.POST_ALLOCATE)).to((function) -> builder
.postAllocate((Function<? super Connectio n, ? extends Publisher<Void>>) function)); .postAllocate((Function<? super Connectio n, ? extends Publisher<Void>>) function));
map.from(options.getValue(PoolingConnectionFactoryProvide r.REGISTER_JMX)).as(this::toBoolean) map.from(options.getValue(PoolingConnectionFactoryProvide r.REGISTER_JMX)).as(this::toBoolean)
.to(builder::registerJmx); .to(builder::registerJmx);
map.from(options.getValue(PoolingConnectionFactoryProvide r.VALIDATION_QUERY)).as(this::toString) map.from(options.getValue(PoolingConnectionFactoryProvide r.VALIDATION_QUERY)).as(this::toString)
.to(builder::validationQuery); .to(builder::validationQuery);
map.from(options.getValue(PoolingConnectionFactoryProvide r.VALIDATION_DEPTH)).as(this::toValidationDepth) map.from(options.getValue(PoolingConnectionFactoryProvide r.VALIDATION_DEPTH)).as(this::toValidationDepth)
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)