org.apache.jcs.auxiliary.disk.jdbc
Class JDBCDiskCachePoolAccessAttributes

java.lang.Object
  extended by 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.
 
Constructor Summary
JDBCDiskCachePoolAccessAttributes()
           
 
Method Summary
 java.lang.String getDatabase()
           
 java.lang.String getDriverClassName()
           
 int getMaxActive()
           
 java.lang.String getPassword()
           
 java.lang.String getPoolName()
           
 java.lang.String getUrl()
           
 java.lang.String getUserName()
           
 void setDatabase(java.lang.String database)
           
 void setDriverClassName(java.lang.String driverClassName)
           
 void setMaxActive(int maxActive)
           
 void setPassword(java.lang.String password)
           
 void setPoolName(java.lang.String poolName)
           
 void setUrl(java.lang.String connectURI)
           
 void setUserName(java.lang.String userName)
           
 java.lang.String toString()
          For debugging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

JDBCDiskCachePoolAccessAttributes

public JDBCDiskCachePoolAccessAttributes()
Method Detail

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.