org.teiid.adminapi
Interface ConnectionPool
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- MMConnectionPool
public interface ConnectionPool
- extends java.io.Serializable
This object holds the statistics for a ConnectionPool that is being utilized by a Connector.
As per how many available connections
processed etc.
An identifier for ConnectionPool, is nothing but the modules it self, like "DQP",
"QueryService" or Connector Binding names etc.
- Since:
- 4.3
getTotalConnections
int getTotalConnections()
- Returns:
- Returns total number of current connections in the Connection Pool
getConnectionsWaiting
int getConnectionsWaiting()
- Returns:
- Returns the number of connections waiting for use in the connection pool.
getConnectionsInuse
int getConnectionsInuse()
- Returns:
- Returns the number of Connections currently in use by clients.
getConnectionsCreated
long getConnectionsCreated()
- Returns:
- Returns the number of Connections created since the Connection Pool was created.
getConnectionsDestroyed
long getConnectionsDestroyed()
- Returns:
- The number of Connections destroyed since the Connection Pool was created.
isXAPoolType
boolean isXAPoolType()
- Returns:
- true if this represents an XA connection pool
getConnectorBindingIdentifier
java.lang.String getConnectorBindingIdentifier()
- Returns:
- the identifier of the connector binding this pool is used with
Copyright © 2009. All Rights Reserved.