org.apache.excalibur.store.impl
Class JispFilesystemStore

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.excalibur.store.impl.AbstractReadWriteStore
          extended by org.apache.excalibur.store.impl.AbstractJispFilesystemStore
              extended by 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

Field Summary
 
Fields inherited from class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
m_Database, m_directoryFile, m_Index
 
Fields inherited from class org.apache.excalibur.store.impl.AbstractReadWriteStore
lock
 
Fields inherited from interface org.apache.excalibur.store.Store
PERSISTENT_STORE, ROLE, TRANSIENT_STORE
 
Constructor Summary
JispFilesystemStore()
           
 
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 org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JispFilesystemStore

public JispFilesystemStore()
Method Detail

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

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 The Apache Software Foundation. All Rights Reserved.