Fixes #400 make getters public

pull/403/merge
Brett Wooldridge 10 years ago
parent 383af8577a
commit caa4b0d0bc

@ -42,7 +42,7 @@ public abstract class PoolStats
this.clock = ClockSource.INSTANCE; this.clock = ClockSource.INSTANCE;
} }
protected int getTotalConnections() public int getTotalConnections()
{ {
if (shouldLoad()) { if (shouldLoad()) {
update(); update();
@ -51,7 +51,7 @@ public abstract class PoolStats
return totalConnections; return totalConnections;
} }
protected int getIdleConnections() public int getIdleConnections()
{ {
if (shouldLoad()) { if (shouldLoad()) {
update(); update();
@ -60,7 +60,7 @@ public abstract class PoolStats
return idleConnections; return idleConnections;
} }
protected int getActiveConnections() public int getActiveConnections()
{ {
if (shouldLoad()) { if (shouldLoad()) {
update(); update();
@ -69,7 +69,7 @@ public abstract class PoolStats
return activeConnections; return activeConnections;
} }
protected int getPendingThreads() public int getPendingThreads()
{ {
if (shouldLoad()) { if (shouldLoad()) {
update(); update();

Loading…
Cancel
Save