|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.connection.TConnectionPoolStatistics
public class TConnectionPoolStatistics
TConnectionPoolStatistics describes statistical information for a connection pool.
Constructor Summary | |
---|---|
TConnectionPoolStatistics()
Constructor to construct a TConnectionPoolStatistics with default settings. |
Method Summary | |
---|---|
int |
getDeleteConnections()
Gets the number of connections deleted from the pool. |
TConnectionPoolDescriptor |
getDescriptor()
Gets the pool descriptor with the properties of the pool and its connections. |
int |
getFailedReconnects()
Gets the number of failed reconnect attempts. |
int |
getGetConnections()
Gets the number of getConnection() method invocations. |
int |
getMaxUsedConnections()
Gets the maximum number of connections in the pool. |
java.lang.String |
getName()
Gets the pool name. |
int |
getReconnects()
Gets the number of reconnect attempts. |
int |
getWaits()
Gets the number of times a client had to wait for a getConnection() |
protected void |
setDeleteConnects(int deleteConnections)
Sets the number of deleted connects. |
protected void |
setDescriptor(TConnectionPoolDescriptor descriptor)
Sets the descriptor. |
protected void |
setFailedReconnects(int failedReconnects)
Sets the number of failed reconnects. |
protected void |
setGetConnects(int getConnections)
Sets the number of getConnection invocations. |
protected void |
setMaxUsedConnects(int maxUsedConnections)
Sets the maximum number of used connections. |
protected void |
setName(java.lang.String name)
Method setName |
protected void |
setReconnects(int reconnects)
Sets the number of reconnects. |
protected void |
setWaits(int waits)
Sets the number of waits. |
java.lang.String |
toString()
Delivers the statistical information as a String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TConnectionPoolStatistics()
Method Detail |
---|
public int getDeleteConnections()
public int getMaxUsedConnections()
public int getFailedReconnects()
public int getReconnects()
public int getWaits()
public int getGetConnections()
public java.lang.String getName()
public TConnectionPoolDescriptor getDescriptor()
protected void setMaxUsedConnects(int maxUsedConnections)
maxUsedConnections
- an intprotected void setDeleteConnects(int deleteConnections)
deleteConnections
- an intprotected void setGetConnects(int getConnections)
connections
- an intprotected void setFailedReconnects(int failedReconnects)
failedReconnects
- an intprotected void setReconnects(int reconnects)
reconnects
- an intprotected void setWaits(int waits)
waits
- an intprotected void setDescriptor(TConnectionPoolDescriptor descriptor)
descriptor
- a TConnectionPoolDescriptorpublic java.lang.String toString()
toString
in class java.lang.Object
protected void setName(java.lang.String name)
name
- a String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |