org.apache.cocoon.components.store.impl
Class DefaultStore

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.excalibur.store.impl.MRUMemoryStore
          extended by org.apache.cocoon.components.store.impl.DefaultStore
All Implemented Interfaces:
Disposable, Component, LogEnabled, Parameterizable, Serviceable, ThreadSafe, Instrumentable, Store
Direct Known Subclasses:
JispFilesystemStore

public class DefaultStore
extends MRUMemoryStore

Default implementation of Cocoon's store. It's a MRUMemoryStore whose "use-persistent-cache" parameter defaults to true.

This default setting allows the store to be an in-memory front-end to the persistent store.

Version:
CVS $Id: DefaultStore.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Sylvain Wallez

Field Summary
 
Fields inherited from interface org.apache.excalibur.store.Store
PERSISTENT_STORE, ROLE, TRANSIENT_STORE
 
Fields inherited from interface org.apache.excalibur.instrument.Instrumentable
EMPTY_INSTRUMENT_ARRAY, EMPTY_INSTRUMENTABLE_ARRAY
 
Constructor Summary
DefaultStore()
           
 
Method Summary
 void parameterize(Parameters params)
           
 
Methods inherited from class org.apache.excalibur.store.impl.MRUMemoryStore
clear, containsKey, dispose, free, get, getChildInstrumentables, getInstrumentableName, getInstruments, hold, keys, remove, service, 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

DefaultStore

public DefaultStore()
Method Detail

parameterize

public void parameterize(Parameters params)
                  throws ParameterException
Specified by:
parameterize in interface Parameterizable
Overrides:
parameterize in class MRUMemoryStore
Throws:
ParameterException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.