Class BlockDiskCacheAttributes
java.lang.Object
org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributes
org.apache.commons.jcs3.auxiliary.disk.AbstractDiskCacheAttributes
org.apache.commons.jcs3.auxiliary.disk.block.BlockDiskCacheAttributes
- All Implemented Interfaces:
- Serializable,- Cloneable,- AuxiliaryCacheAttributes,- IDiskCacheAttributes
This holds attributes for Block Disk Cache configuration.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.commons.jcs3.auxiliary.disk.behavior.IDiskCacheAttributesIDiskCacheAttributes.DiskLimitType
- 
Field SummaryFields inherited from interface org.apache.commons.jcs3.auxiliary.disk.behavior.IDiskCacheAttributesMAX_PURGATORY_SIZE_DEFAULT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintlongintvoidsetBlockSizeBytes(int blockSizeBytes) The size of the blocks.voidsetKeyPersistenceIntervalSeconds(long keyPersistenceIntervalSeconds) voidsetMaxKeySize(int maxKeySize) toString()Write out the values for debugging purposes.Methods 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
- 
Constructor Details- 
BlockDiskCacheAttributespublic BlockDiskCacheAttributes()
 
- 
- 
Method Details- 
setBlockSizeBytesThe size of the blocks. All blocks are the same size.- Parameters:
- blockSizeBytes- The blockSizeBytes to set.
 
- 
getBlockSizeBytes- Returns:
- Returns the blockSizeBytes.
 
- 
setMaxKeySize- Parameters:
- maxKeySize- The maxKeySize to set.
 
- 
getMaxKeySize- Returns:
- Returns the maxKeySize.
 
- 
setKeyPersistenceIntervalSeconds- Parameters:
- keyPersistenceIntervalSeconds- The keyPersistenceIntervalSeconds to set.
 
- 
getKeyPersistenceIntervalSeconds- Returns:
- Returns the keyPersistenceIntervalSeconds.
 
- 
toStringWrite out the values for debugging purposes.- Overrides:
- toStringin class- AbstractDiskCacheAttributes
- Returns:
- String
 
 
-