File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
driver/src/main/java/org/neo4j/driver/v1 Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -335,7 +335,8 @@ public ConfigBuilder withLeakedSessionsLogging()
335
335
*
336
336
* @param size the max number of sessions to keep open
337
337
* @return this builder
338
- * @deprecated please use {@link #withMaxConnectionPoolSize(int)} instead.
338
+ * @deprecated please use a combination of {@link #withMaxConnectionPoolSize(int)} and
339
+ * {@link #withConnectionAcquisitionTimeout(long, TimeUnit)} instead.
339
340
*/
340
341
@ Deprecated
341
342
public ConfigBuilder withMaxSessions ( int size )
@@ -352,7 +353,8 @@ public ConfigBuilder withMaxSessions( int size )
352
353
*
353
354
* @param size the max number of idle sessions to keep open
354
355
* @return this builder
355
- * @deprecated please use {@link #withMaxConnectionPoolSize(int)} instead.
356
+ * @deprecated please use a combination of {@link #withMaxConnectionPoolSize(int)} and
357
+ * {@link #withConnectionAcquisitionTimeout(long, TimeUnit)} instead.
356
358
*/
357
359
@ Deprecated
358
360
public ConfigBuilder withMaxIdleSessions ( int size )
@@ -369,7 +371,8 @@ public ConfigBuilder withMaxIdleSessions( int size )
369
371
*
370
372
* @param size the max number of idle connections to keep open
371
373
* @return this builder
372
- * @deprecated please use {@link #withMaxConnectionPoolSize(int)} instead.
374
+ * @deprecated please use a combination of {@link #withMaxConnectionPoolSize(int)} and
375
+ * {@link #withConnectionAcquisitionTimeout(long, TimeUnit)} instead.
373
376
*/
374
377
@ Deprecated
375
378
public ConfigBuilder withMaxIdleConnections ( int size )
You can’t perform that action at this time.
0 commit comments