com.metamatrix.admin.objects
Class MMConnectionPool
java.lang.Object
com.metamatrix.admin.objects.MMConnectionPool
- All Implemented Interfaces:
- java.io.Serializable, ConnectionPool
public class MMConnectionPool
- extends java.lang.Object
- implements ConnectionPool
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MMConnectionPool
public MMConnectionPool()
isXAPoolType
public boolean isXAPoolType()
- Specified by:
isXAPoolType in interface ConnectionPool
- Returns:
- true if this represents an XA connection pool
setXa
public void setXa(boolean xa)
getConnectorBindingIdentifier
public java.lang.String getConnectorBindingIdentifier()
- Specified by:
getConnectorBindingIdentifier in interface ConnectionPool
- Returns:
- the identifier of the connector binding this pool is used with
setConnectorBindingIdentifier
public void setConnectorBindingIdentifier(java.lang.String connectorBindingIdentifier)
getConnectionsInuse
public int getConnectionsInuse()
- Specified by:
getConnectionsInuse in interface ConnectionPool
- Returns:
- Returns the number of Connections currently in use by clients.
getConnectionsWaiting
public int getConnectionsWaiting()
- Specified by:
getConnectionsWaiting in interface ConnectionPool
- Returns:
- Returns the number of connections waiting for use in the connection pool.
getConnectionsCreated
public long getConnectionsCreated()
- Specified by:
getConnectionsCreated in interface ConnectionPool
- Returns:
- Returns the number of Connections created since the Connection Pool was created.
getConnectionsDestroyed
public long getConnectionsDestroyed()
- Specified by:
getConnectionsDestroyed in interface ConnectionPool
- Returns:
- The number of Connections destroyed since the Connection Pool was created.
getTotalConnections
public int getTotalConnections()
- Specified by:
getTotalConnections in interface ConnectionPool
- Returns:
- Returns total number of current connections in the Connection Pool
setConnectionsInUse
public void setConnectionsInUse(int inUseConnections)
setConnectionsWaiting
public void setConnectionsWaiting(int waitingConnections)
setTotalConnections
public void setTotalConnections(int totalConnections)
setConnectionsDestroyed
public void setConnectionsDestroyed(long connectionsDestroyed)
setConnectionsCreated
public void setConnectionsCreated(long connectionsCreated)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2009. All Rights Reserved.