org.apache.jcs.auxiliary.disk.jisp
Class JISPCacheAttributes

java.lang.Object
  extended byorg.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
      extended byorg.apache.jcs.auxiliary.disk.AbstractDiskCacheAttributes
          extended byorg.apache.jcs.auxiliary.disk.jisp.JISPCacheAttributes
All Implemented Interfaces:
AuxiliaryCacheAttributes, java.lang.Cloneable, IDiskCacheAttributes, java.io.Serializable

public class JISPCacheAttributes
extends AbstractDiskCacheAttributes

Description of the Class

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
JISPCacheAttributes()
          Constructor for the JISPCacheAttributes object
 
Method Summary
 AuxiliaryCacheAttributes copy()
          Description of the Method
 boolean getClearOnStart()
          Gets the clearOnStart attribute of the JISPCacheAttributes object
 int getShutdownSpoolTimeLimit()
          Get the amount of time in seconds we will wait for elements to move to disk during shutdown for a particular region.
 void setClearOnStart(boolean clear)
          Sets the clearOnStart attribute of the JISPCacheAttributes object
 void setShutdownSpoolTimeLimit(int shutdownSpoolTimeLimit)
          Sets the amount of time in seconds we will wait for elements to move to disk during shutdown for a particular region.
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class org.apache.jcs.auxiliary.disk.AbstractDiskCacheAttributes
getDiskPath, getMaxPurgatorySize, setDiskPath, setMaxPurgatorySize
 
Methods inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
getCacheName, getEventQueuePoolName, getEventQueueType, getEventQueueTypeFactoryCode, 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, getEventQueueTypeFactoryCode, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
 

Constructor Detail

JISPCacheAttributes

public JISPCacheAttributes()
Constructor for the JISPCacheAttributes object

Method Detail

setClearOnStart

public void setClearOnStart(boolean clear)
Sets the clearOnStart attribute of the JISPCacheAttributes object

Parameters:
clear - The new clearOnStart value

getClearOnStart

public boolean getClearOnStart()
Gets the clearOnStart attribute of the JISPCacheAttributes object

Returns:
The clearOnStart value

getShutdownSpoolTimeLimit

public int getShutdownSpoolTimeLimit()
Description copied from interface: IDiskCacheAttributes
Get the amount of time in seconds we will wait for elements to move to disk during shutdown for a particular region.

Specified by:
getShutdownSpoolTimeLimit in interface IDiskCacheAttributes
Overrides:
getShutdownSpoolTimeLimit in class AbstractDiskCacheAttributes

setShutdownSpoolTimeLimit

public void setShutdownSpoolTimeLimit(int shutdownSpoolTimeLimit)
Description copied from interface: IDiskCacheAttributes
Sets the amount of time in seconds we will wait for elements to move to disk during shutdown for a particular region.

This is how long we give the event queue to empty.

The default is 60 seconds.

Specified by:
setShutdownSpoolTimeLimit in interface IDiskCacheAttributes
Overrides:
setShutdownSpoolTimeLimit in class AbstractDiskCacheAttributes

copy

public AuxiliaryCacheAttributes copy()
Description of the Method

Specified by:
copy in interface AuxiliaryCacheAttributes
Overrides:
copy in class AbstractDiskCacheAttributes
Returns:
AuxiliaryCacheAttributes

toString

public java.lang.String toString()
Description of the Method

Overrides:
toString in class AbstractDiskCacheAttributes
Returns:
String


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