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 boolean
If 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_SECONDS
Fields inherited from interface org.apache.commons.jcs3.auxiliary.disk.behavior.IDiskCacheAttributes
MAX_PURGATORY_SIZE_DEFAULT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Should we return null while optimizing the table.void
setBalkDuringOptimization
(boolean balkDuringOptimization) void
setOptimizationSchedule
(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, setUserName
Methods inherited from class org.apache.commons.jcs3.auxiliary.disk.AbstractDiskCacheAttributes
getDiskLimitType, getDiskPath, getMaxPurgatorySize, getShutdownSpoolTimeLimit, isAllowRemoveAll, setAllowRemoveAll, setDiskLimitType, setDiskLimitTypeName, setDiskPath, setDiskPath, setMaxPurgatorySize, setShutdownSpoolTimeLimit
Methods inherited from class org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributes
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
toString
in classJDBCDiskCacheAttributes
- Returns:
- debug string
-