|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.toplink.threetier.ConnectionPool
public class ConnectionPool
Purpose: Used to specify how connection should be pooled in a server session.
| Constructor Summary | |
|---|---|
ConnectionPool()A connection pool is used to specify how connection should be pooled in a server session. |
|
ConnectionPool(java.lang.String name, Login login, int minNumberOfConnections, int maxNumberOfConnections, ServerSession owner)A connection pool is used to specify how connection should be pooled in a server session. |
|
| Method Summary | |
|---|---|
Login |
getLogin()Return the login used to create connections. |
int |
getMaxNumberOfConnections()Return the maximum number of connections allowed. |
int |
getMinNumberOfConnections()Return the minimum number of connections. |
java.lang.String |
getName()Return the name of this pool. |
void |
setLogin(Login login)Set the login used to create connections. |
void |
setMaxNumberOfConnections(int maxNumberOfConnections)Set the maximum number of connections allowed. |
void |
setMinNumberOfConnections(int minNumberOfConnections)Set the minimum number of connections. |
void |
setName(java.lang.String name)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,
Login login,
int minNumberOfConnections,
int maxNumberOfConnections,
ServerSession owner)
| Method Detail |
|---|
public Login getLogin()
public int getMaxNumberOfConnections()
public int getMinNumberOfConnections()
public java.lang.String getName()
public void setLogin(Login 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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||