A C D E F G H I J K L M N O P R S T U W

A

AbstractFilesystemStore - Class in org.apache.excalibur.store.impl
Stores objects on the filesystem: String objects as text files, all other objects are serialized.
AbstractFilesystemStore() - Constructor for class org.apache.excalibur.store.impl.AbstractFilesystemStore
 
AbstractJispFilesystemStore - Class in org.apache.excalibur.store.impl
This store is based on the Jisp library (http://www.coyotegulch.com/jisp/index.html).
AbstractJispFilesystemStore() - Constructor for class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
 
AbstractReadWriteStore - Class in org.apache.excalibur.store.impl
This is a base implementation for stores that are synchronized by using a read/write lock.
AbstractReadWriteStore() - Constructor for class org.apache.excalibur.store.impl.AbstractReadWriteStore
 
addKeys(AbstractFilesystemStore.FSEnumeration, File) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
 

C

checkMemory() - Method in class org.apache.excalibur.store.impl.StoreJanitorImpl
The "checker" thread checks if memory is running low in the jvm.
clear() - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Clear the Store of all elements
clear() - Method in class org.apache.excalibur.store.impl.MemoryStore
Clear the Store of all elements
clear() - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
Clear the Store of all elements
clear() - Method in interface org.apache.excalibur.store.Store
Clear the Store of all data it holds
compareTo(KeyObject) - Method in class org.apache.excalibur.store.impl.JispKey
Compares two Keys
containsKey(Object) - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Test if the the index file contains the given key
containsKey(Object) - Method in class org.apache.excalibur.store.impl.MemoryStore
Indicates if the given key is associated to a contained object.
containsKey(Object) - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
Indicates if the given key is associated to a contained object.
containsKey(Object) - Method in interface org.apache.excalibur.store.Store
Indicates if the given key is associated to a contained object.
countKeys(File) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
 

D

decode(String) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Inverse of encode exept it do not use path.
deserializeObject(File) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
This method deserializes an object from an input stream.
deserializeString(File) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Load a text file contents as a String.
dispose() - Method in class org.apache.excalibur.store.impl.JispFilesystemStore
 
dispose() - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
Dispose the component
doClear() - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Clear the Store of all elements
doClear() - Method in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
Clear the Store of all elements
doClear() - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Clear the Store of all data it holds
doContainsKey(Object) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Indicates if the given key is associated to a contained object.
doContainsKey(Object) - Method in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
Test if the the index file contains the given key
doContainsKey(Object) - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Indicates if the given key is associated to a contained object.
doFree() - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
 
doFree() - Method in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
 
doFree() - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Try to free some used memory.
doGet(Object) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Get the File object associated with the given unique key name.
doGet(Object) - Method in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
Returns a Object from the store associated with the Key Object
doGet(Object) - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Get the object associated to the given unique key.
doGetKeys() - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Returns the list of stored files as an Enumeration of Files
doGetKeys() - Method in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
Returns a Enumeration of all Keys in the indexed file.
doGetKeys() - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Returns the list of used keys as an Enumeration of Objects.
doGetSize() - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Returns count of the objects in the store, or -1 if could not be obtained.
doGetSize() - Method in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
 
doGetSize() - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Returns count of the objects in the store, or -1 if could not be obtained.
doRemove(Object) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Remove the object associated to the given key.
doRemove(Object) - Method in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
Removes a value from the data file with the given key.
doRemove(Object) - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Remove the object associated to the given key.
doStore(Object, Object) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Store the given object in a persistent state.
doStore(Object, Object) - Method in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
Store the given object in the indexed data file.
doStore(Object, Object) - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Store the given object.

E

encode(String) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Returns a String that uniquely identifies the object.

F

fileFromKey(Object) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
 
free() - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
 
free() - Method in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
Frees some values of the data file.
TODO: implementation
free() - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Frees some values of the data file.
free() - Method in class org.apache.excalibur.store.impl.MemoryStore
 
free() - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
Frees some of the fast memory used by this store.
free() - Method in interface org.apache.excalibur.store.Store
Try to free some used memory.

G

get(Object) - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Returns a Object from the store associated with the Key Object
get(Object) - Method in class org.apache.excalibur.store.impl.MemoryStore
Get the object associated to the given unique key.
get(Object) - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
Get the object associated to the given unique key.
get(Object) - Method in interface org.apache.excalibur.store.Store
Get the object associated to the given unique key.
getChildInstrumentables() - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
 
getChildInstrumentables() - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
 
getDirectoryPath() - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Returns the repository's full pathname
getFullFilename(File) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Get the complete filename corresponding to a (typically relative) File.
getInstrumentableName() - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
 
getInstrumentableName() - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
 
getInstruments() - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
 
getInstruments() - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
 
getKey() - Method in class org.apache.excalibur.store.impl.JispKey
Return the real key
getNullKey() - Method in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
Return the Null JispKey
getObject(Object) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
 
getString(Object) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
 

H

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

I

interval - Variable in class org.apache.excalibur.store.impl.StoreJanitorImpl
The calculated delay for the next checker run in ms
inUse - Variable in class org.apache.excalibur.store.impl.StoreJanitorImpl
Amount of memory in use before sleep().
invokeGC - Variable in class org.apache.excalibur.store.impl.StoreJanitorImpl
Should the gc be called on low memory?
iterator() - Method in class org.apache.excalibur.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.
iterator() - Method in interface org.apache.excalibur.store.StoreJanitor
get an iterator to list registered stores

J

JispFilesystemStore - Class in org.apache.excalibur.store.impl
This store is based on the Jisp library (http://www.coyotegulch.com/jisp/index.html).
JispFilesystemStore() - Constructor for class org.apache.excalibur.store.impl.JispFilesystemStore
 
JispKey - Class in org.apache.excalibur.store.impl
Wrapper class for Keys to be compatible with the Jisp KeyObject.
JispKey() - Constructor for class org.apache.excalibur.store.impl.JispKey
 
JispKey(Object) - Constructor for class org.apache.excalibur.store.impl.JispKey
Constructor for the JispKey object

K

keys() - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Returns a Enumeration of all Keys in the indexed file.
keys() - Method in class org.apache.excalibur.store.impl.MemoryStore
Returns the list of used keys as an Enumeration of Objects.
keys() - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
Returns the list of used keys as an Enumeration.
keys() - Method in interface org.apache.excalibur.store.Store
Returns the list of used keys as an Enumeration of Objects.

L

lock - Variable in class org.apache.excalibur.store.impl.AbstractReadWriteStore
The lock

M

m_Database - Variable in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
The database
m_directoryFile - Variable in class org.apache.excalibur.store.impl.AbstractFilesystemStore
The directory repository
m_directoryFile - Variable in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
The directory repository
m_directoryPath - Variable in class org.apache.excalibur.store.impl.AbstractFilesystemStore
 
m_Index - Variable in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
And the index
m_Key - Variable in class org.apache.excalibur.store.impl.JispKey
 
m_table - Variable in class org.apache.excalibur.store.impl.MemoryStore
The shared store
makeNullKey() - Method in class org.apache.excalibur.store.impl.JispKey
Composes a null Kewy
memoryInUse() - Method in class org.apache.excalibur.store.impl.StoreJanitorImpl
Calculate the JVM memory in use now.
MemoryStore - Class in org.apache.excalibur.store.impl
 
MemoryStore() - Constructor for class org.apache.excalibur.store.impl.MemoryStore
 
MRUMemoryStore - Class in org.apache.excalibur.store.impl
This class provides a cache algorithm for the requested documents.
MRUMemoryStore() - Constructor for class org.apache.excalibur.store.impl.MRUMemoryStore
 

N

NULL_KEY - Static variable in class org.apache.excalibur.store.impl.JispKey
 

O

org.apache.excalibur.store - package org.apache.excalibur.store
 
org.apache.excalibur.store.impl - package org.apache.excalibur.store.impl
 

P

parameterize(Parameters) - Method in class org.apache.excalibur.store.impl.JispFilesystemStore
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
parameterize(Parameters) - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
Initialize the MRUMemoryStore.
parameterize(Parameters) - Method in class org.apache.excalibur.store.impl.StoreJanitorImpl
Parameterize the StoreJanitorImpl.
PERSISTENT_STORE - Static variable in interface org.apache.excalibur.store.Store
The role for a persistent store

R

readExternal(ObjectInput) - Method in class org.apache.excalibur.store.impl.JispKey
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
register(Store) - Method in class org.apache.excalibur.store.impl.StoreJanitorImpl
This method register the stores
register(Store) - Method in interface org.apache.excalibur.store.StoreJanitor
register method for the stores
remove(Object) - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Removes a value from the data file with the given key.
remove(Object) - Method in class org.apache.excalibur.store.impl.MemoryStore
Remove the object associated to the given key.
remove(Object) - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
Remove the object associated to the given key.
remove(Object) - Method in interface org.apache.excalibur.store.Store
Remove the object associated to the given key.
ROLE - Static variable in interface org.apache.excalibur.store.Store
The role for a persistent store
ROLE - Static variable in interface org.apache.excalibur.store.StoreJanitor
 
run() - Method in class org.apache.excalibur.store.impl.StoreJanitorImpl
The "checker" thread loop.

S

serializeObject(File, Object) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
This method serializes an object to an output stream.
serializeString(File, String) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Dump a String to a text file.
service(ServiceManager) - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
Get components of the ComponentLocator
setDirectory(String) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Sets the repository's location
setDirectory(File) - Method in class org.apache.excalibur.store.impl.AbstractFilesystemStore
Sets the repository's location
setDirectory(File) - Method in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
Sets the repository's location
setInstrumentableName(String) - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
 
setInstrumentableName(String) - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
 
size() - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
 
size() - Method in class org.apache.excalibur.store.impl.MemoryStore
Returns count of the objects in the store, or -1 if could not be obtained.
size() - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
Returns count of the objects in the store, or -1 if could not be obtained.
size() - Method in interface org.apache.excalibur.store.Store
Returns count of the objects in the store, or -1 if could not be obtained.
start() - Method in class org.apache.excalibur.store.impl.StoreJanitorImpl
 
stop() - Method in class org.apache.excalibur.store.impl.StoreJanitorImpl
 
store(Object, Object) - Method in class org.apache.excalibur.store.impl.AbstractReadWriteStore
Store the given object in the indexed data file.
store(Object, Object) - Method in class org.apache.excalibur.store.impl.MemoryStore
Store the given object in a persistent state.
store(Object, Object) - Method in class org.apache.excalibur.store.impl.MRUMemoryStore
Store the given object in a persistent state.
Store - Interface in org.apache.excalibur.store
A Store is an object managing arbitrary data.
store(Object, Object) - Method in interface org.apache.excalibur.store.Store
Store the given object.
StoreJanitor - Interface in org.apache.excalibur.store
Interface for the StoreJanitors
StoreJanitorImpl - Class in org.apache.excalibur.store.impl
This class is a implentation of a StoreJanitor.
StoreJanitorImpl() - Constructor for class org.apache.excalibur.store.impl.StoreJanitorImpl
 

T

TRANSIENT_STORE - Static variable in interface org.apache.excalibur.store.Store
The role for a transient store

U

unregister(Store) - Method in class org.apache.excalibur.store.impl.StoreJanitorImpl
This method unregister the stores
unregister(Store) - Method in interface org.apache.excalibur.store.StoreJanitor
unregister method for the stores

W

wrapKeyObject(Object) - Method in class org.apache.excalibur.store.impl.AbstractJispFilesystemStore
This method wraps around the key Object a Jisp KeyObject.
writeExternal(ObjectOutput) - Method in class org.apache.excalibur.store.impl.JispKey
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.

A C D E F G H I J K L M N O P R S T U W

Copyright © 1997-2008 Apache Software Foundation. All Rights Reserved.