org.apache.jcs.auxiliary.disk.jdbc
Class JDBCDiskCachePoolAccessAttributes
java.lang.Object
org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCachePoolAccessAttributes
public class JDBCDiskCachePoolAccessAttributes
- extends java.lang.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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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(java.lang.String poolName)
- Parameters:
poolName
- the poolName to set
getPoolName
public java.lang.String getPoolName()
- Returns:
- the poolName
setUrl
public void setUrl(java.lang.String connectURI)
- Parameters:
connectURI
- the connectURI to set
getUrl
public java.lang.String getUrl()
- Returns:
- the connectURI
setUserName
public void setUserName(java.lang.String userName)
- Parameters:
userName
- the userName to set
getUserName
public java.lang.String getUserName()
- Returns:
- the userName
setPassword
public void setPassword(java.lang.String password)
- Parameters:
password
- the password to set
getPassword
public java.lang.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(java.lang.String database)
- Parameters:
database
- the database to set
getDatabase
public java.lang.String getDatabase()
- Returns:
- the database
setDriverClassName
public void setDriverClassName(java.lang.String driverClassName)
- Parameters:
driverClassName
- the driverClassName to set
getDriverClassName
public java.lang.String getDriverClassName()
- Returns:
- the driverClassName
toString
public java.lang.String toString()
- For debugging.
- Overrides:
toString
in class java.lang.Object
- Returns:
- debug string with most of the properties.
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.