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

java.lang.Object
  extended byorg.apache.cocoon.components.store.impl.MRUMemoryStore
      extended byorg.apache.cocoon.components.store.impl.DefaultStore
All Implemented Interfaces:
Store

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:
$Id: DefaultStore.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 
Fields inherited from class org.apache.cocoon.components.store.impl.MRUMemoryStore
persistent
 
Fields inherited from interface org.apache.excalibur.store.Store
PERSISTENT_STORE, ROLE, TRANSIENT_STORE
 
Constructor Summary
DefaultStore()
           
 
Method Summary
 void init()
          Initialize the MRUMemoryStore.
 
Methods inherited from class org.apache.cocoon.components.store.impl.MRUMemoryStore
clear, containsKey, destroy, free, get, getLogger, hold, keys, remove, setLogger, setMaxObjects, setPersistentStore, setStoreJanitor, setUsePersistentStore, size, store
 
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

init

public void init()
          throws Exception
Description copied from class: MRUMemoryStore
Initialize the MRUMemoryStore.

Overrides:
init in class MRUMemoryStore
Throws:
Exception


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