File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
spring-aop/src/main/java/org/springframework/aop/target Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 4949 * @author Rob Harrop
5050 * @author Juergen Hoeller
5151 * @author Stephane Nicoll
52+ * @author Kazuki Shimizu
5253 * @since 4.2
5354 * @see GenericObjectPool
5455 * @see #createObjectPool()
@@ -66,7 +67,7 @@ public class CommonsPool2TargetSource extends AbstractPoolingTargetSource implem
6667
6768 private int minIdle = GenericObjectPoolConfig .DEFAULT_MIN_IDLE ;
6869
69- private long maxWait = GenericObjectPoolConfig .DEFAULT_MAX_TOTAL ;
70+ private long maxWait = GenericObjectPoolConfig .DEFAULT_MAX_WAIT_MILLIS ;
7071
7172 private long timeBetweenEvictionRunsMillis = GenericObjectPoolConfig .DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS ;
7273
@@ -126,7 +127,7 @@ public int getMinIdle() {
126127 /**
127128 * Set the maximum waiting time for fetching an object from the pool.
128129 * Default is -1, waiting forever.
129- * @see GenericObjectPool#setMaxTotal
130+ * @see GenericObjectPool#setMaxWaitMillis
130131 */
131132 public void setMaxWait (long maxWait ) {
132133 this .maxWait = maxWait ;
You can’t perform that action at this time.
0 commit comments