org.apache.jcs.auxiliary.disk.jdbc.mysql
Class MySQLDiskCacheAttributes

java.lang.Object
  extended by org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
      extended by org.apache.jcs.auxiliary.disk.AbstractDiskCacheAttributes
          extended by org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheAttributes
              extended by org.apache.jcs.auxiliary.disk.jdbc.mysql.MySQLDiskCacheAttributes
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, AuxiliaryCacheAttributes, IDiskCacheAttributes

public class MySQLDiskCacheAttributes
extends JDBCDiskCacheAttributes

This has additional attributes that are particular to the MySQL disk cache.

Author:
Aaron Smuts
See Also:
Serialized Form

Field Summary
static boolean DEFAULT_BALK_DURING_OPTIMIZATION
          If true, we will balk, that is return null during optimization rather than block.
 
Fields inherited from class org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheAttributes
DEFAULT_MAX_ACTIVE, DEFAULT_SHRINKER_INTERVAL_SECONDS
 
Fields inherited from class org.apache.jcs.auxiliary.disk.AbstractDiskCacheAttributes
diskPath, maxPurgatorySize, shutdownSpoolTimeLimit
 
Fields inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
cacheName, eventQueuePoolName, eventQueueType, name
 
Fields inherited from interface org.apache.jcs.auxiliary.disk.behavior.IDiskCacheAttributes
MAX_PURGATORY_SIZE_DEFUALT
 
Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE
 
Constructor Summary
MySQLDiskCacheAttributes()
           
 
Method Summary
 java.lang.String getOptimizationSchedule()
           
 boolean isBalkDuringOptimization()
          Should we return null while optimizing the table.
 void setBalkDuringOptimization(boolean balkDuringOptimization)
           
 void setOptimizationSchedule(java.lang.String optimizationSchedule)
           
 java.lang.String toString()
          For debugging.
 
Methods inherited from class org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheAttributes
getConnectionPoolName, getDatabase, getDriverClassName, getMaxActive, getPassword, getShrinkerIntervalSeconds, getTableName, getUrl, getUserName, isTestBeforeInsert, isUseDiskShrinker, setConnectionPoolName, setDatabase, setDriverClassName, setMaxActive, setPassword, setShrinkerIntervalSeconds, setTableName, setTestBeforeInsert, setUrl, setUseDiskShrinker, setUserName
 
Methods inherited from class org.apache.jcs.auxiliary.disk.AbstractDiskCacheAttributes
copy, getDiskPath, getMaxPurgatorySize, getShutdownSpoolTimeLimit, isAllowRemoveAll, setAllowRemoveAll, setDiskPath, setMaxPurgatorySize, setShutdownSpoolTimeLimit
 
Methods inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes
getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
 

Field Detail

DEFAULT_BALK_DURING_OPTIMIZATION

public static final boolean DEFAULT_BALK_DURING_OPTIMIZATION
If true, we will balk, that is return null during optimization rather than block.

See Also:
Constant Field Values
Constructor Detail

MySQLDiskCacheAttributes

public MySQLDiskCacheAttributes()
Method Detail

setOptimizationSchedule

public void setOptimizationSchedule(java.lang.String optimizationSchedule)
Parameters:
optimizationSchedule - The optimizationSchedule to set.

getOptimizationSchedule

public java.lang.String getOptimizationSchedule()
Returns:
Returns the optimizationSchedule.

setBalkDuringOptimization

public void setBalkDuringOptimization(boolean balkDuringOptimization)
Parameters:
balkDuringOptimization - The balkDuringOptimization to set.

isBalkDuringOptimization

public boolean isBalkDuringOptimization()
Should we return null while optimizing the table.

Returns:
Returns the balkDuringOptimization.

toString

public java.lang.String toString()
For debugging.

Overrides:
toString in class JDBCDiskCacheAttributes
Returns:
debug string


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.