Save This Page
Home » oscache-2.4.1-full » com.opensymphony.oscache.plugins » diskpersistence » [javadoc | source]
com.opensymphony.oscache.plugins.diskpersistence
public class: DiskPersistenceListener [javadoc | source]
java.lang.Object
   com.opensymphony.oscache.plugins.diskpersistence.AbstractDiskPersistenceListener
      com.opensymphony.oscache.plugins.diskpersistence.DiskPersistenceListener

All Implemented Interfaces:
    PersistenceListener, Serializable

Persist the cache data to disk. The code in this class is totally not thread safe it is the resonsibility of the cache using this persistence listener to handle the concurrency.
Fields inherited from com.opensymphony.oscache.plugins.diskpersistence.AbstractDiskPersistenceListener:
CACHE_PATH_KEY,  CACHE_EXTENSION,  GROUP_DIRECTORY,  APPLICATION_CACHE_SUBPATH,  SESSION_CACHE_SUBPATH,  CONTEXT_TMPDIR
Method from com.opensymphony.oscache.plugins.diskpersistence.DiskPersistenceListener Summary:
getCacheFileName
Methods from com.opensymphony.oscache.plugins.diskpersistence.AbstractDiskPersistenceListener:
adjustFileCachePath,   clear,   configure,   getCacheFile,   getCacheFileName,   getCachePath,   getContextTmpDir,   getRoot,   initFileCaching,   isGroupStored,   isStored,   remove,   remove,   removeGroup,   retrieve,   retrieveGroup,   store,   store,   storeGroup
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.opensymphony.oscache.plugins.diskpersistence.DiskPersistenceListener Detail:
 protected char[] getCacheFileName(String key) 
    Build cache file name for the specified cache entry key.