org.apache.jcs.auxiliary.disk.block
Class BlockDiskCacheAttributes

java.lang.Object
  extended by org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
      extended by org.apache.jcs.auxiliary.disk.AbstractDiskCacheAttributes
          extended by org.apache.jcs.auxiliary.disk.block.BlockDiskCacheAttributes
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, AuxiliaryCacheAttributes, IDiskCacheAttributes

public class BlockDiskCacheAttributes
extends AbstractDiskCacheAttributes

This holds attributes for Block Disk Cache configuration.

Author:
Aaron Smuts
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jcs.auxiliary.disk.AbstractDiskCacheAttributes
diskPath, maxPurgatorySize, shutdownSpoolTimeLimit
 
Fields inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
cacheName, eventQueuePoolName, eventQueueType, name
 
Fields inherited from interface org.apache.jcs.auxiliary.disk.behavior.IDiskCacheAttributes
MAX_PURGATORY_SIZE_DEFUALT
 
Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE
 
Constructor Summary
BlockDiskCacheAttributes()
           
 
Method Summary
 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.
 
Methods inherited from class org.apache.jcs.auxiliary.disk.AbstractDiskCacheAttributes
copy, getDiskPath, getMaxPurgatorySize, getShutdownSpoolTimeLimit, isAllowRemoveAll, setAllowRemoveAll, setDiskPath, setMaxPurgatorySize, setShutdownSpoolTimeLimit
 
Methods inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes
getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
 

Constructor Detail

BlockDiskCacheAttributes

public BlockDiskCacheAttributes()
Method Detail

setBlockSizeBytes

public void setBlockSizeBytes(int blockSizeBytes)
The size of the blocks. All blocks are the same size.

Parameters:
blockSizeBytes - The blockSizeBytes to set.

getBlockSizeBytes

public int getBlockSizeBytes()
Returns:
Returns the blockSizeBytes.

setMaxKeySize

public void setMaxKeySize(int maxKeySize)
Parameters:
maxKeySize - The maxKeySize to set.

getMaxKeySize

public int getMaxKeySize()
Returns:
Returns the maxKeySize.

setKeyPersistenceIntervalSeconds

public void setKeyPersistenceIntervalSeconds(long keyPersistenceIntervalSeconds)
Parameters:
keyPersistenceIntervalSeconds - The keyPersistenceIntervalSeconds to set.

getKeyPersistenceIntervalSeconds

public long getKeyPersistenceIntervalSeconds()
Returns:
Returns the keyPersistenceIntervalSeconds.

toString

public java.lang.String toString()
Write out the values for debugging purposes.

Overrides:
toString in class AbstractDiskCacheAttributes
Returns:
String


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.