public class BlockDiskCacheAttributes extends AbstractDiskCacheAttributes
IDiskCacheAttributes.DiskLimitType
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.
|
getDiskLimitType, getDiskPath, getMaxPurgatorySize, getShutdownSpoolTimeLimit, isAllowRemoveAll, setAllowRemoveAll, setDiskLimitType, setDiskLimitTypeName, setDiskPath, setDiskPath, setMaxPurgatorySize, setShutdownSpoolTimeLimit
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
public BlockDiskCacheAttributes()
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–2018 The Apache Software Foundation. All rights reserved.