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, 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 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 AbstractDiskCacheAttributes
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.