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()
335335 *
336336 * @param size the max number of sessions to keep open
337337 * @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.
339340 */
340341 @ Deprecated
341342 public ConfigBuilder withMaxSessions ( int size )
@@ -352,7 +353,8 @@ public ConfigBuilder withMaxSessions( int size )
352353 *
353354 * @param size the max number of idle sessions to keep open
354355 * @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.
356358 */
357359 @ Deprecated
358360 public ConfigBuilder withMaxIdleSessions ( int size )
@@ -369,7 +371,8 @@ public ConfigBuilder withMaxIdleSessions( int size )
369371 *
370372 * @param size the max number of idle connections to keep open
371373 * @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.
373376 */
374377 @ Deprecated
375378 public ConfigBuilder withMaxIdleConnections ( int size )
You can’t perform that action at this time.
0 commit comments