File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
ebean-datasource/src/main/java/io/ebean/datasource/pool Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -440,17 +440,11 @@ public void setMaxSize(int max) {
440440 this .maxConnections = max ;
441441 }
442442
443- /**
444- * Return the max size this pool can grow to.
445- */
446- int getMaxSize () {
443+ int maxSize () {
447444 return maxConnections ;
448445 }
449446
450- /**
451- * Return the min size this pool should maintain.
452- */
453- int getMinSize () {
447+ int minSize () {
454448 return minConnections ;
455449 }
456450
Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ final class PooledConnectionQueue {
7070 PooledConnectionQueue (ConnectionPool pool ) {
7171 this .pool = pool ;
7272 this .name = pool .name ();
73- this .minSize = pool .getMinSize ();
74- this .maxSize = pool .getMaxSize ();
73+ this .minSize = pool .minSize ();
74+ this .maxSize = pool .maxSize ();
7575 this .warningSize = pool .getWarningSize ();
7676 this .waitTimeoutMillis = pool .waitTimeoutMillis ();
7777 this .leakTimeMinutes = pool .leakTimeMinutes ();
You can’t perform that action at this time.
0 commit comments