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:
- Component, Disposable, LogEnabled, Parameterizable, Store, ThreadSafe
- public class JispFilesystemStore
- extends AbstractJispFilesystemStore
- implements Store, ThreadSafe, Parameterizable, 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
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(Parameters params)
throws 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 Parameterizable
- Parameters:
params
- the configuration paramters
- Throws:
ParameterException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
Copyright © 1997-2004 The Apache Software Foundation. All Rights Reserved.