Class MySQLDiskCacheAttributes
java.lang.Object
org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributes
org.apache.commons.jcs3.auxiliary.disk.AbstractDiskCacheAttributes
org.apache.commons.jcs3.auxiliary.disk.jdbc.JDBCDiskCacheAttributes
org.apache.commons.jcs3.auxiliary.disk.jdbc.mysql.MySQLDiskCacheAttributes
- All Implemented Interfaces:
- Serializable,- Cloneable,- AuxiliaryCacheAttributes,- IDiskCacheAttributes
This has additional attributes that are particular to the MySQL disk cache.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.commons.jcs3.auxiliary.disk.behavior.IDiskCacheAttributesIDiskCacheAttributes.DiskLimitType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final booleanIf true, we will balk, that is return null during optimization rather than block.Fields inherited from class org.apache.commons.jcs3.auxiliary.disk.jdbc.JDBCDiskCacheAttributesDEFAULT_MAX_TOTAL, DEFAULT_POOL_NAME, DEFAULT_SHRINKER_INTERVAL_SECONDSFields inherited from interface org.apache.commons.jcs3.auxiliary.disk.behavior.IDiskCacheAttributesMAX_PURGATORY_SIZE_DEFAULT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanShould we return null while optimizing the table.voidsetBalkDuringOptimization(boolean balkDuringOptimization) voidsetOptimizationSchedule(String optimizationSchedule) toString()For debugging.Methods inherited from class org.apache.commons.jcs3.auxiliary.disk.jdbc.JDBCDiskCacheAttributesgetConnectionPoolName, getDatabase, getDriverClassName, getJndiPath, getJndiTTL, getMaxTotal, getPassword, getShrinkerIntervalSeconds, getTableName, getUrl, getUserName, isTestBeforeInsert, isUseDiskShrinker, setConnectionPoolName, setDatabase, setDriverClassName, setJndiPath, setJndiTTL, setMaxTotal, setPassword, setShrinkerIntervalSeconds, setTableName, setTestBeforeInsert, setUrl, setUseDiskShrinker, setUserNameMethods inherited from class org.apache.commons.jcs3.auxiliary.disk.AbstractDiskCacheAttributesgetDiskLimitType, getDiskPath, getMaxPurgatorySize, getShutdownSpoolTimeLimit, isAllowRemoveAll, setAllowRemoveAll, setDiskLimitType, setDiskLimitTypeName, setDiskPath, setDiskPath, setMaxPurgatorySize, setShutdownSpoolTimeLimitMethods inherited from class org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributesclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNameMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.commons.jcs3.auxiliary.AuxiliaryCacheAttributesclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
- 
Field Details- 
DEFAULT_BALK_DURING_OPTIMIZATIONIf true, we will balk, that is return null during optimization rather than block.- See Also:
 
 
- 
- 
Constructor Details- 
MySQLDiskCacheAttributespublic MySQLDiskCacheAttributes()
 
- 
- 
Method Details- 
setOptimizationSchedule- Parameters:
- optimizationSchedule- The optimizationSchedule to set.
 
- 
getOptimizationSchedule- Returns:
- Returns the optimizationSchedule.
 
- 
setBalkDuringOptimization- Parameters:
- balkDuringOptimization- The balkDuringOptimization to set.
 
- 
isBalkDuringOptimizationShould we return null while optimizing the table.- Returns:
- Returns the balkDuringOptimization.
 
- 
toStringFor debugging.- Overrides:
- toStringin class- JDBCDiskCacheAttributes
- Returns:
- debug string
 
 
-