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 Summary
Nested classes/interfaces inherited from interface org.apache.commons.jcs3.auxiliary.disk.behavior.IDiskCacheAttributes
IDiskCacheAttributes.DiskLimitType -
Field Summary
FieldsModifier 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.JDBCDiskCacheAttributes
DEFAULT_MAX_TOTAL, DEFAULT_POOL_NAME, DEFAULT_SHRINKER_INTERVAL_SECONDSFields inherited from interface org.apache.commons.jcs3.auxiliary.disk.behavior.IDiskCacheAttributes
MAX_PURGATORY_SIZE_DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier 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.JDBCDiskCacheAttributes
getConnectionPoolName, 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.AbstractDiskCacheAttributes
getDiskLimitType, getDiskPath, getMaxPurgatorySize, getShutdownSpoolTimeLimit, isAllowRemoveAll, setAllowRemoveAll, setDiskLimitType, setDiskLimitTypeName, setDiskPath, setDiskPath, setMaxPurgatorySize, setShutdownSpoolTimeLimitMethods inherited from class org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributes
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNameMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.commons.jcs3.auxiliary.AuxiliaryCacheAttributes
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
-
Field Details
-
DEFAULT_BALK_DURING_OPTIMIZATION
If true, we will balk, that is return null during optimization rather than block.- See Also:
-
-
Constructor Details
-
MySQLDiskCacheAttributes
public MySQLDiskCacheAttributes()
-
-
Method Details
-
setOptimizationSchedule
- Parameters:
optimizationSchedule- The optimizationSchedule to set.
-
getOptimizationSchedule
- Returns:
- Returns the optimizationSchedule.
-
setBalkDuringOptimization
- Parameters:
balkDuringOptimization- The balkDuringOptimization to set.
-
isBalkDuringOptimization
Should we return null while optimizing the table.- Returns:
- Returns the balkDuringOptimization.
-
toString
For debugging.- Overrides:
toStringin classJDBCDiskCacheAttributes- Returns:
- debug string
-