|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.toplink.threetier.ConnectionPool
Purpose: Used to specify how connection should be pooled in a server session.
Constructor Summary |
ConnectionPool()
PUBLIC: A connection pool is used to specify how connection should be pooled in a server session. |
ConnectionPool(java.lang.String name,
DatabaseLogin login,
int minNumberOfConnections,
int maxNumberOfConnections,
ServerSession owner)
PUBLIC: A connection pool is used to specify how connection should be pooled in a server session. |
Method Summary |
Type | Method |
---|---|
DatabaseLogin |
getLogin()
PUBLIC: Return the login used to create connections. |
int |
getMaxNumberOfConnections()
PUBLIC: Return the maximum number of connections allowed. |
int |
getMinNumberOfConnections()
PUBLIC: Return the minimum number of connections. |
java.lang.String |
getName()
PUBLIC: Return the name of this pool. |
void |
setLogin(DatabaseLogin login)
PUBLIC: Set the login used to create connections. |
void |
setMaxNumberOfConnections(int maxNumberOfConnections)
PUBLIC: Set the maximum number of connections allowed. |
void |
setMinNumberOfConnections(int minNumberOfConnections)
PUBLIC: Set the minimum number of connections. |
void |
setName(java.lang.String name)
PUBLIC: Set the name of this pool. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ConnectionPool()
public ConnectionPool(java.lang.String name, DatabaseLogin login, int minNumberOfConnections, int maxNumberOfConnections, ServerSession owner)
Method Detail |
public DatabaseLogin getLogin()
public int getMaxNumberOfConnections()
public int getMinNumberOfConnections()
public java.lang.String getName()
public void setLogin(DatabaseLogin login)
public void setMaxNumberOfConnections(int maxNumberOfConnections)
public void setMinNumberOfConnections(int minNumberOfConnections)
public void setName(java.lang.String name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |