org.apache.jcs.auxiliary.disk.jdbc
Class JDBCDiskCachePoolAccessAttributes
java.lang.Object
org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCachePoolAccessAttributes
public class JDBCDiskCachePoolAccessAttributes
- extends Object
These are used to configure the JDBCDiskCachePoolAccess class.
Field Summary |
static int |
DEFAULT_MAX_ACTIVE
This is the default limit on the maximum number of active connections. |
DEFAULT_MAX_ACTIVE
public static final int DEFAULT_MAX_ACTIVE
- This is the default limit on the maximum number of active connections.
- See Also:
- Constant Field Values
JDBCDiskCachePoolAccessAttributes
public JDBCDiskCachePoolAccessAttributes()
setPoolName
public void setPoolName(String poolName)
- Parameters:
poolName
- the poolName to set
getPoolName
public String getPoolName()
- Returns:
- the poolName
setUrl
public void setUrl(String connectURI)
- Parameters:
connectURI
- the connectURI to set
getUrl
public String getUrl()
- Returns:
- the connectURI
setUserName
public void setUserName(String userName)
- Parameters:
userName
- the userName to set
getUserName
public String getUserName()
- Returns:
- the userName
setPassword
public void setPassword(String password)
- Parameters:
password
- the password to set
getPassword
public String getPassword()
- Returns:
- the password
setMaxActive
public void setMaxActive(int maxActive)
- Parameters:
maxActive
- the maxActive to set
getMaxActive
public int getMaxActive()
- Returns:
- the maxActive
setDatabase
public void setDatabase(String database)
- Parameters:
database
- the database to set
getDatabase
public String getDatabase()
- Returns:
- the database
setDriverClassName
public void setDriverClassName(String driverClassName)
- Parameters:
driverClassName
- the driverClassName to set
getDriverClassName
public String getDriverClassName()
- Returns:
- the driverClassName
toString
public String toString()
- For debugging.
- Overrides:
toString
in class Object
- Returns:
- debug string with most of the properties.
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.