File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
driver/src/main/java/org/neo4j/driver/v1 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ public ConfigBuilder withMaxSessions( int size )
349
349
* higher if you want more concurrent sessions, or lower if you want
350
350
* to lower the pressure on the database instance.
351
351
* <p>
352
- * Method is deprecated and will forward the given argument to {@link #withMaxConnectionPoolSize(int)} .
352
+ * Method is deprecated and will not change the driver configuration .
353
353
*
354
354
* @param size the max number of idle sessions to keep open
355
355
* @return this builder
@@ -359,15 +359,15 @@ public ConfigBuilder withMaxSessions( int size )
359
359
@ Deprecated
360
360
public ConfigBuilder withMaxIdleSessions ( int size )
361
361
{
362
- return withMaxConnectionPoolSize ( size ) ;
362
+ return this ;
363
363
}
364
364
365
365
/**
366
366
* The max number of idle connections to keep open at once. Configure this
367
367
* higher for greater concurrency, or lower to reduce the pressure on the
368
368
* database instance.
369
369
* <p>
370
- * Method is deprecated and will forward the given argument to {@link #withMaxConnectionPoolSize(int)} .
370
+ * Method is deprecated and will not change the driver configuration .
371
371
*
372
372
* @param size the max number of idle connections to keep open
373
373
* @return this builder
@@ -377,7 +377,7 @@ public ConfigBuilder withMaxIdleSessions( int size )
377
377
@ Deprecated
378
378
public ConfigBuilder withMaxIdleConnections ( int size )
379
379
{
380
- return withMaxConnectionPoolSize ( size ) ;
380
+ return this ;
381
381
}
382
382
383
383
/**
You can’t perform that action at this time.
0 commit comments