com.metamatrix.admin.objects
Class MMConnectionPool
java.lang.Object
com.metamatrix.admin.objects.MMAdminObject
com.metamatrix.admin.objects.MMConnectionPool
- All Implemented Interfaces:
- AdminObject, ConnectionPool, java.io.Serializable
public class MMConnectionPool
- extends MMAdminObject
- implements ConnectionPool
- See Also:
- Serialized Form
Fields inherited from class com.metamatrix.admin.objects.MMAdminObject |
deployed, enabled, identifier, identifierParts, name, OBJECT_TYPE_CACHE, OBJECT_TYPE_CONNECTOR_BINDING, OBJECT_TYPE_CONNECTOR_TYPE, OBJECT_TYPE_DQP, OBJECT_TYPE_ENTITLEMENT, OBJECT_TYPE_EXTENSION_MODULE, OBJECT_TYPE_GROUP, OBJECT_TYPE_HOST, OBJECT_TYPE_LOG_CONFIGURATION, OBJECT_TYPE_MODEL, OBJECT_TYPE_PROCESS_OBJECT, OBJECT_TYPE_PROPERTY_DEFINITION, OBJECT_TYPE_QUEUE_WORKER_POOL, OBJECT_TYPE_REQUEST, OBJECT_TYPE_RESOURCE, OBJECT_TYPE_ROLE, OBJECT_TYPE_SERVICE, OBJECT_TYPE_SESSION, OBJECT_TYPE_SYSTEM_OBJECT, OBJECT_TYPE_TRANSACTION, OBJECT_TYPE_USER, OBJECT_TYPE_VDB, OBJECTS_PACKAGE, registered |
Methods inherited from class com.metamatrix.admin.objects.MMAdminObject |
buildIdentifier, buildIdentifierArray, buildIdentifierList, getCreated, getCreatedBy, getCreatedDate, getIdentifier, getIdentifierArray, getLastChangedBy, getLastChangedDate, getLastUpdated, getLastUpdatedBy, getName, getNameFromIdentifier, getObjectType, getParentName, getProperties, getPropertiesAsString, getPropertyValue, getProps, isDeployed, isEnabled, isRegistered, setCreated, setCreatedBy, setDeployed, setEnabled, setIdentifier, setLastUpdated, setLastUpdatedBy, setProperties, setRegistered |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MMConnectionPool
public MMConnectionPool()
isXAPoolType
public boolean isXAPoolType()
getPoolType
public int getPoolType()
setPoolType
public void setPoolType(int type)
getConnectorBindingName
public java.lang.String getConnectorBindingName()
setConnectorBindingName
public void setConnectorBindingName(java.lang.String bindingName)
getConnectorBindingIdentifier
public java.lang.String getConnectorBindingIdentifier()
setConnectorBindingIdentifier
public void setConnectorBindingIdentifier(java.lang.String identifier)
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()
- Description copied from class:
MMAdminObject
- Get MetaMatrix Object as a String
- Specified by:
toString
in class MMAdminObject
- See Also:
Object.toString()
Copyright © 2009. All Rights Reserved.