org.apache.excalibur.store.impl
Class JispFilesystemStore
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.excalibur.store.impl.AbstractReadWriteStore
org.apache.excalibur.store.impl.AbstractJispFilesystemStore
org.apache.excalibur.store.impl.JispFilesystemStore
- All Implemented Interfaces:
- org.apache.avalon.framework.activity.Disposable, Component, LogEnabled, org.apache.avalon.framework.parameters.Parameterizable, org.apache.avalon.framework.thread.ThreadSafe, Store
public class JispFilesystemStore
- extends AbstractJispFilesystemStore
- implements org.apache.avalon.framework.parameters.Parameterizable, org.apache.avalon.framework.activity.Disposable
This store is based on the Jisp library
(http://www.coyotegulch.com/jisp/index.html). This store uses B-Tree indexes
to access variable-length serialized data stored in files.
- Version:
- CVS $Id: JispFilesystemStore.java,v 1.4 2004/02/28 11:47:31 cziegeler Exp $
- Author:
- Avalon Development Team
Method Summary |
void |
dispose()
|
void |
parameterize(org.apache.avalon.framework.parameters.Parameters params)
Configure the Component.
A few options can be used
directory - The directory to store the two files belowe
data-file = the name of the data file (Default: store.dat)
index-file = the name of the index file (Default: store.idx)
order = The page size of the B-Tree
|
Methods inherited from class org.apache.excalibur.store.impl.AbstractJispFilesystemStore |
doClear, doContainsKey, doFree, doGet, doGetKeys, doGetSize, doRemove, doStore, free, getNullKey, setDirectory, wrapKeyObject |
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 |
JispFilesystemStore
public JispFilesystemStore()
parameterize
public void parameterize(org.apache.avalon.framework.parameters.Parameters params)
throws org.apache.avalon.framework.parameters.ParameterException
- Configure the Component.
A few options can be used
- directory - The directory to store the two files belowe
- data-file = the name of the data file (Default: store.dat)
- index-file = the name of the index file (Default: store.idx)
- order = The page size of the B-Tree
- Specified by:
parameterize
in interface org.apache.avalon.framework.parameters.Parameterizable
- Parameters:
params
- the configuration paramters
- Throws:
org.apache.avalon.framework.parameters.ParameterException
dispose
public void dispose()
- Specified by:
dispose
in interface org.apache.avalon.framework.activity.Disposable
Copyright © 1997-2012 Apache Software Foundation. All Rights Reserved.