C D E F G H I K M O P R S U W

C

CocoonStoreJanitor - class org.apache.cocoon.components.store.impl.CocoonStoreJanitor.
The CocoonStoreJanitor class just subclasses the StoreJanitorImpl to overwrite the start method for background thread creation using the Cocoon RunnableManager.
CocoonStoreJanitor() - Constructor for class org.apache.cocoon.components.store.impl.CocoonStoreJanitor
 
cacheDir - Variable in class org.apache.cocoon.components.store.impl.FilesystemStore
 
checkMemory() - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
The "checker" thread checks if memory is running low in the jvm.
clear() - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
 
clear() - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
Clear the Store of all elements
containsKey(Object) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
 
containsKey(Object) - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
Indicates if the given key is associated to a contained object.

D

DefaultStore - class org.apache.cocoon.components.store.impl.DefaultStore.
Default implementation of Cocoon's store.
DefaultStore() - Constructor for class org.apache.cocoon.components.store.impl.DefaultStore
 
DefaultTransientStore - class org.apache.cocoon.components.store.impl.DefaultTransientStore.
Default implementation of Cocoon's transient store.
DefaultTransientStore() - Constructor for class org.apache.cocoon.components.store.impl.DefaultTransientStore
 
destroy() - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
Shutdown the CacheManager.
destroy() - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
Dispose the component
destroy() - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
 

E

EHDefaultStore - class org.apache.cocoon.components.store.impl.EHDefaultStore.
Store implementation based on EHCache (http://ehcache.sourceforge.net/) Configure the store using the setter methods.
EHDefaultStore() - Constructor for class org.apache.cocoon.components.store.impl.EHDefaultStore
 

F

FilesystemStore - class org.apache.cocoon.components.store.impl.FilesystemStore.
Stores objects on the filesystem: String objects as text files, all other objects are serialized.
FilesystemStore() - Constructor for class org.apache.cocoon.components.store.impl.FilesystemStore
 
free() - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
 
free() - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
Frees some of the fast memory used by this store.

G

get(Object) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
 
get(Object) - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
Get the object associated to the given unique key.
getLogger() - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
 
getLogger() - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
 
getLogger() - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
 

H

hold(Object, Object) - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
This method holds the requested object in a HashMap combined with a LinkedList to create the MRU.

I

inUse - Variable in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
Amount of memory in use before sleep().
init() - Method in class org.apache.cocoon.components.store.impl.DefaultStore
 
init() - Method in class org.apache.cocoon.components.store.impl.DefaultTransientStore
 
init() - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
Initialize the CacheManager and created the Cache.
init() - Method in class org.apache.cocoon.components.store.impl.FilesystemStore
 
init() - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
Initialize the MRUMemoryStore.
init() - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
Initialize the StoreJanitorImpl.
interval - Variable in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
The calculated delay for the next checker run in ms
invokeGC - Variable in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
Should the gc be called on low memory?
iterator() - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
This method return a java.util.Iterator of every registered stores The iterators returned is fail-fast: if list is structurally modified at any time after the iterator is created, in any way, the iterator will throw a ConcurrentModificationException.

K

keys() - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
 
keys() - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
Returns the list of used keys as an Enumeration.

M

MRUMemoryStore - class org.apache.cocoon.components.store.impl.MRUMemoryStore.
This class provides a cache algorithm for the requested documents.
MRUMemoryStore() - Constructor for class org.apache.cocoon.components.store.impl.MRUMemoryStore
 
memoryInUse() - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
Calculate the JVM memory in use now.

O

org.apache.cocoon.components.store.impl - package org.apache.cocoon.components.store.impl
 

P

persistent - Variable in class org.apache.cocoon.components.store.impl.MRUMemoryStore
 

R

register(Store) - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
This method register the stores
remove(Object) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
 
remove(Object) - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
Remove the object associated to the given key.
run() - Method in class org.apache.cocoon.components.store.impl.CocoonStoreJanitor
The "checker" thread checks if memory is running low in the jvm.
run() - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
The "checker" thread loop.

S

StoreJanitorImpl - class org.apache.cocoon.components.store.impl.StoreJanitorImpl.
This class is a implentation of a StoreJanitor.
StoreJanitorImpl() - Constructor for class org.apache.cocoon.components.store.impl.StoreJanitorImpl
 
setAdaptiveThreadInterval(boolean) - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
Experimental adaptive algorithm for cleanup interval
setBootstrapCacheLoader(BootstrapCacheLoader) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
The BootstrapCacheLoader to use to populate the cache when it is first initialised.
setCleanupThreadInterval(int) - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
How often shall the cleanup thread check memory? If not specified, defaults to 10 seconds.
setDirectory(String) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
directory Specify an alternative location of the disk store.
setDiskExpiryThreadIntervalSeconds(int) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
diskExpiryThreadIntervalSeconds (120) - The number of seconds between runs of the disk expiry thread.
setDiskPersistent(boolean) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
disk-persistent Whether the disk store persists between restarts of the Virtual Machine.
setEternal(boolean) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
eternal (true) - whether or not entries expire.
setFreeMemory(int) - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
How much free memory shall be available in the jvm? If not specified, defaults to 1Mb.
setFreeingAlgorithm(String) - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
 
setHeapSize(int) - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
How much memory at max jvm can consume? The default max heapsize for Sun's JVM is (almost) 64Mb, can be increased by specifying -Xmx command line parameter.
setInvokeGC(boolean) - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
Shall garbage collector be invoked on low memory? If not specified, defaults to false.
setLogger(Log) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
 
setLogger(Log) - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
 
setLogger(Log) - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
 
setMaxDiskObjects(int) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
maxDiskObjects (50000) - The maximum number of disc objects.
setMaxMemObjects(int) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
maxMemobjects (10000) - The maximum number of in-memory objects.
setMaxObjects(int) - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
Indicates how many objects will be held in the cache.
setMemoryStoreEvictionPolicy(MemoryStoreEvictionPolicy) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
memoryStoreEvictionPolicy (null) - Tone of LRU, LFU and FIFO.
setOverflowToDisk(boolean) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
overflow-to-disk (true) - Whether to spool elements to disk after maxobjects has been exceeded.
setPercentToFree(double) - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
What percent of the store elements shall be dropped on low memory? If not specified, defaults to 10%
setPersistentStore(Store) - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
Set to keep objects persisted after container shutdown
setRegisteredEventListeners(RegisteredEventListeners) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
A notification service.
setRunnableManager(RunnableManager) - Method in class org.apache.cocoon.components.store.impl.CocoonStoreJanitor
Set the RunnableManager
setSettings(Settings) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
 
setSettings(Settings) - Method in class org.apache.cocoon.components.store.impl.FilesystemStore
 
setStoreJanitor(StoreJanitor) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
Use the StoreJanitor to take care of freeing memory.
setStoreJanitor(StoreJanitor) - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
 
setThreadPool(String) - Method in class org.apache.cocoon.components.store.impl.CocoonStoreJanitor
Name of the thread pool to use.
setThreadPriority(int) - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
What should be the priority of the cleanup thread? This property is used only by older implementation of the janitor.
setTimeToIdleSeconds(long) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
timeToIdleSeconds (0) - the maximum time between retrievals of an entry.
setTimeToLiveSeconds(long) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
timeToLiveSeconds (0) - how long an entry may live in the cache before it is removed.
setUseCacheDirectory(boolean) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
use-cache-directory (false) - If true the cache-directory context entry will be used as the location of the disk store.
setUseCacheDirectory(boolean) - Method in class org.apache.cocoon.components.store.impl.FilesystemStore
 
setUsePersistentStore(boolean) - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
 
setUseWorkDirectory(boolean) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
use-work-directory (false) - If true the work-directory context entry will be used as the location of the disk store.
setUseWorkDirectory(boolean) - Method in class org.apache.cocoon.components.store.impl.FilesystemStore
 
size() - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
 
size() - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
Returns count of the objects in the store, or -1 if could not be obtained.
start() - Method in class org.apache.cocoon.components.store.impl.CocoonStoreJanitor
Start this instance using a default thread from the RunnableManager
store(Object, Object) - Method in class org.apache.cocoon.components.store.impl.EHDefaultStore
 
store(Object, Object) - Method in class org.apache.cocoon.components.store.impl.MRUMemoryStore
Store the given object in a persistent state.

U

unregister(Store) - Method in class org.apache.cocoon.components.store.impl.StoreJanitorImpl
This method unregister the stores

W

workDir - Variable in class org.apache.cocoon.components.store.impl.FilesystemStore
 

C D E F G H I K M O P R S U W

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