public class BlockDiskCacheAttributes extends AbstractDiskCacheAttributes
diskPath, maxPurgatorySize, shutdownSpoolTimeLimit
cacheName, eventQueuePoolName, eventQueueType, name
MAX_PURGATORY_SIZE_DEFUALT
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE
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) |
java.lang.String |
toString()
Write out the values for debugging purposes.
|
copy, getDiskPath, getMaxPurgatorySize, getShutdownSpoolTimeLimit, isAllowRemoveAll, setAllowRemoveAll, 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 java.lang.String toString()
toString
in class AbstractDiskCacheAttributes
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.