org.apache.cocoon.components.store.impl
Class FilesystemStore
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.excalibur.store.impl.AbstractReadWriteStore
org.apache.excalibur.store.impl.AbstractFilesystemStore
org.apache.cocoon.components.store.impl.FilesystemStore
- All Implemented Interfaces:
- Component, LogEnabled, Store, ThreadSafe
- public final class FilesystemStore
- extends AbstractFilesystemStore
Stores objects on the filesystem: String objects as text files,
all other objects are serialized.
- Version:
- $Id: FilesystemStore.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Methods inherited from class org.apache.excalibur.store.impl.AbstractFilesystemStore |
addKeys, countKeys, decode, deserializeObject, deserializeString, doClear, doContainsKey, doFree, doGet, doGetKeys, doGetSize, doRemove, doStore, encode, fileFromKey, free, getDirectoryPath, getFullFilename, getObject, getString, serializeObject, serializeString, setDirectory, setDirectory |
Methods inherited from class org.apache.excalibur.store.impl.AbstractReadWriteStore |
clear, containsKey, get, getChildInstrumentables, getInstrumentableName, getInstruments, keys, remove, setInstrumentableName, size, store |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
workDir
protected File workDir
cacheDir
protected File cacheDir
FilesystemStore
public FilesystemStore()
setSettings
public void setSettings(org.apache.cocoon.configuration.Settings settings)
- Parameters:
settings
-
setUseCacheDirectory
public void setUseCacheDirectory(boolean useCacheDirectory)
- Parameters:
useCacheDirectory
-
setUseWorkDirectory
public void setUseWorkDirectory(boolean useWorkDirectory)
- Parameters:
useWorkDirectory
-
init
public void init()
throws Exception
- Throws:
Exception
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.