public class BlockDiskCacheAttributes extends AbstractDiskCacheAttributes
IDiskCacheAttributes.DiskLimitTypeMAX_PURGATORY_SIZE_DEFAULT| Constructor and Description |
|---|
BlockDiskCacheAttributes() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockSizeBytes() |
long |
getKeyPersistenceIntervalSeconds() |
int |
getMaxKeySize() |
void |
setBlockSizeBytes(int blockSizeBytes)
The size of the blocks.
|
void |
setKeyPersistenceIntervalSeconds(long keyPersistenceIntervalSeconds) |
void |
setMaxKeySize(int maxKeySize) |
String |
toString()
Write out the values for debugging purposes.
|
getDiskLimitType, getDiskPath, getMaxPurgatorySize, getShutdownSpoolTimeLimit, isAllowRemoveAll, setAllowRemoveAll, setDiskLimitType, setDiskLimitTypeName, setDiskPath, setDiskPath, setMaxPurgatorySize, setShutdownSpoolTimeLimitclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNameequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNamepublic void setBlockSizeBytes(int blockSizeBytes)
blockSizeBytes - The blockSizeBytes to set.public int getBlockSizeBytes()
public void setMaxKeySize(int maxKeySize)
maxKeySize - The maxKeySize to set.public int getMaxKeySize()
public void setKeyPersistenceIntervalSeconds(long keyPersistenceIntervalSeconds)
keyPersistenceIntervalSeconds - The keyPersistenceIntervalSeconds to set.public long getKeyPersistenceIntervalSeconds()
public String toString()
toString in class AbstractDiskCacheAttributesCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.