java.lang.Cloneablepublic class VirtuosoPoolStatistic
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field | Description |
|---|---|---|
protected long |
_cum_wtime |
|
protected int |
_hits |
|
protected long |
_max_wtime |
|
protected long |
_min_wtime |
|
protected int |
_misses |
|
protected int |
cacheSize |
|
protected int |
conn_unUsed |
|
protected int |
connIn_Use |
|
protected java.lang.String |
name |
| Modifier | Constructor | Description |
|---|---|---|
protected |
VirtuosoPoolStatistic() |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.lang.Object |
clone() |
|
int |
getCacheSize() |
Returns the connection pool size.
|
int |
getConnsInUse() |
Returns the amount of used connections in the connection pool size.
|
int |
getConnsUnUsed() |
Returns the amount of unused connections in the connection pool size.
|
long |
getCumWaitTime() |
Returns the sum of all waiting time for the connection pool.
|
int |
getHits() |
Returns the amount of the connection pool hits.
|
long |
getMaxWaitTime() |
Returns the maximal waiting time for the connection pool.
|
long |
getMinWaitTime() |
Returns the minimal waiting time for the connection pool.
|
int |
getMisses() |
Returns the amount of the connection pool misses.
|
java.lang.String |
getName() |
Returns the name of ConectionPoolDataSource.
|
protected void |
setCacheParam(java.lang.String _name,
int _cacheSize,
int _conn_unUsed,
int _connIn_Use) |
|
protected void |
setWaitingTime(long tm) |
|
java.lang.String |
toString() |
protected java.lang.String name
protected volatile int conn_unUsed
protected volatile int connIn_Use
protected volatile int cacheSize
protected volatile int _hits
protected volatile int _misses
protected volatile long _max_wtime
protected volatile long _min_wtime
protected volatile long _cum_wtime
protected void setCacheParam(java.lang.String _name,
int _cacheSize,
int _conn_unUsed,
int _connIn_Use)
protected void setWaitingTime(long tm)
protected java.lang.Object clone()
clone in class java.lang.Objectpublic int getHits()
public int getMisses()
public long getMaxWaitTime()
public long getMinWaitTime()
public long getCumWaitTime()
public int getCacheSize()
public int getConnsInUse()
public int getConnsUnUsed()
public java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Object