|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rocketsoftware.mvapi.pool.MVConnectionPoolStats
public class MVConnectionPoolStats
Maintains connection pool statistics
Nested Class Summary | |
---|---|
static class |
MVConnectionPoolStats.StatName
Enumeration of the allowable statistic names. |
Constructor Summary | |
---|---|
MVConnectionPoolStats()
Default constructor. |
Method Summary | |
---|---|
void |
clear()
Clear connection pool statistics |
void |
copy(MVConnectionPoolStats poolStats)
Store statistics values from connection pool statistics object |
void |
decrement(MVConnectionPoolStats.StatName name)
Decrement pool statistics counter |
int |
getFailedConnects()
Gets counter of the non-waiting connects that failed to the MV server |
int |
getNewConnects()
Gets counter of the new connects to the MV server |
int |
getTotalConnects()
Gets counter of the total connects to the MV server |
int |
getUsedAvailConnects()
Get counter of the used available connects to the MV server |
int |
getWaitAtMaxConnects()
Gets counter of the wait at maximum capacity connects to the MV server |
int |
getWaitFailedConnects()
Gets counter of the waiting connects that failed to the MV server |
int |
getWaitLimitConnects()
Gets counter of the wait at limit capacity connects to the MV server |
int |
getWaitNoLicConnects()
Gets counter of the wait of no license connects to the MV server |
void |
increment(MVConnectionPoolStats.StatName name)
Increment pool statistics counter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MVConnectionPoolStats()
Method Detail |
---|
public int getTotalConnects()
public int getNewConnects()
public int getUsedAvailConnects()
public int getWaitAtMaxConnects()
public int getWaitNoLicConnects()
public int getWaitLimitConnects()
public int getWaitFailedConnects()
public int getFailedConnects()
public void clear()
public void copy(MVConnectionPoolStats poolStats)
poolStats
- The pool statistics object containing source statistics values.public void increment(MVConnectionPoolStats.StatName name)
name
- The name of statistics counter.public void decrement(MVConnectionPoolStats.StatName name)
name
- The name of statistics counter.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |