public class MySQLDiskCacheAttributes extends JDBCDiskCacheAttributes
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_BALK_DURING_OPTIMIZATION
If true, we will balk, that is return null during optimization rather than block.
|
DEFAULT_MAX_ACTIVE, DEFAULT_SHRINKER_INTERVAL_SECONDS
MAX_PURGATORY_SIZE_DEFAULT
Constructor and Description |
---|
MySQLDiskCacheAttributes() |
Modifier and Type | Method and Description |
---|---|
String |
getOptimizationSchedule() |
boolean |
isBalkDuringOptimization()
Should we return null while optimizing the table.
|
void |
setBalkDuringOptimization(boolean balkDuringOptimization) |
void |
setOptimizationSchedule(String optimizationSchedule) |
String |
toString()
For debugging.
|
getConnectionPoolName, getDatabase, getDriverClassName, getMaxActive, getPassword, getShrinkerIntervalSeconds, getTableName, getUrl, getUserName, isTestBeforeInsert, isUseDiskShrinker, setConnectionPoolName, setDatabase, setDriverClassName, setMaxActive, setPassword, setShrinkerIntervalSeconds, setTableName, setTestBeforeInsert, setUrl, setUseDiskShrinker, setUserName
copy, getDiskPath, getMaxPurgatorySize, getShutdownSpoolTimeLimit, isAllowRemoveAll, setAllowRemoveAll, setDiskPath, setDiskPath, setMaxPurgatorySize, setShutdownSpoolTimeLimit
getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
public static final boolean DEFAULT_BALK_DURING_OPTIMIZATION
public void setOptimizationSchedule(String optimizationSchedule)
optimizationSchedule
- The optimizationSchedule to set.public String getOptimizationSchedule()
public void setBalkDuringOptimization(boolean balkDuringOptimization)
balkDuringOptimization
- The balkDuringOptimization to set.public boolean isBalkDuringOptimization()
public String toString()
toString
in class JDBCDiskCacheAttributes
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.