com.opensymphony.oscache.plugins.diskpersistence
Class DiskPersistenceListener
java.lang.Object
com.opensymphony.oscache.plugins.diskpersistence.AbstractDiskPersistenceListener
com.opensymphony.oscache.plugins.diskpersistence.DiskPersistenceListener
- All Implemented Interfaces:
- PersistenceListener, Serializable
public class DiskPersistenceListener
- extends AbstractDiskPersistenceListener
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.
- Version:
- $Revision: 1.1 $
- Author:
- Francois Beauregard, Alain Bergevin, Chris Miller
- See Also:
- Serialized Form
Method Summary |
protected char[] |
getCacheFileName(String key)
Build cache file name for the specified cache entry key. |
Methods inherited from class com.opensymphony.oscache.plugins.diskpersistence.AbstractDiskPersistenceListener |
adjustFileCachePath, clear, configure, getCacheFile, getCachePath, getContextTmpDir, getRoot, initFileCaching, isGroupStored, isStored, remove, remove, removeGroup, retrieve, retrieveGroup, store, store, storeGroup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiskPersistenceListener
public DiskPersistenceListener()
getCacheFileName
protected char[] getCacheFileName(String key)
- Build cache file name for the specified cache entry key.
- Specified by:
getCacheFileName
in class AbstractDiskPersistenceListener
- Parameters:
key
- Cache Entry Key.
- Returns:
- char[] file name.