public class BlockDiskCacheAttributes extends AbstractDiskCacheAttributes
MAX_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.
|
copy, getDiskPath, getMaxPurgatorySize, getShutdownSpoolTimeLimit, isAllowRemoveAll, setAllowRemoveAll, setDiskPath, setDiskPath, setMaxPurgatorySize, setShutdownSpoolTimeLimitgetCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCacheName, 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–2015 The Apache Software Foundation. All rights reserved.