A C D E F G I J O R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addObject(String, CachedObject<T>) - Method in interface org.apache.fulcrum.cache.GlobalCacheService
-
Adds an object to the cache.
- addObject(String, CachedObject<T>) - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Adds an object to the cache.
- addObject(String, CachedObject<T>) - Method in class org.apache.fulcrum.cache.impl.EHCacheService
- addObject(String, CachedObject<T>) - Method in class org.apache.fulcrum.cache.impl.JCSCacheService
C
- cache - Variable in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
The cache.
- CACHE_CHECK_FREQUENCY - Static variable in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
The property for the Cache check frequency
- CachedObject<T> - Class in org.apache.fulcrum.cache
-
Wrapper for an object you want to store in a cache for a period of time.
- CachedObject(T) - Constructor for class org.apache.fulcrum.cache.CachedObject
-
Constructor; sets the object to expire in the default time (30 minutes).
- CachedObject(T, long) - Constructor for class org.apache.fulcrum.cache.CachedObject
-
Constructor.
- clearCache() - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Iterate through the cache and remove or refresh stale objects.
- configure(Configuration) - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Avalon component lifecycle method
- configure(Configuration) - Method in class org.apache.fulcrum.cache.impl.EHCacheService
- configure(Configuration) - Method in class org.apache.fulcrum.cache.impl.JCSCacheService
- created - Variable in class org.apache.fulcrum.cache.CachedObject
-
When the object is created.
D
- DEFAULT - Static variable in class org.apache.fulcrum.cache.CachedObject
-
Cache the object with the Default TTL
- DEFAULT_CACHE_CHECK_FREQUENCY - Static variable in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Cache check frequency in Millis (1000 Millis = 1 second).
- DEFAULT_CACHE_CHECK_FREQUENCY - Static variable in class org.apache.fulcrum.cache.impl.EHCacheService
-
Cache check frequency in Millis (1000 Millis = 1 second).
- DEFAULT_CACHE_CHECK_FREQUENCY - Static variable in class org.apache.fulcrum.cache.impl.JCSCacheService
-
Cache check frequency in Millis (1000 Millis = 1 second).
- DEFAULT_INITIAL_CACHE_SIZE - Static variable in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Initial size of hash table Value must be > 0.
- DefaultGlobalCacheService - Class in org.apache.fulcrum.cache.impl
-
This Service functions as a Global Cache.
- DefaultGlobalCacheService() - Constructor for class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
- dispose() - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Avalon component lifecycle method
- dispose() - Method in class org.apache.fulcrum.cache.impl.EHCacheService
- dispose() - Method in class org.apache.fulcrum.cache.impl.JCSCacheService
E
- EHCacheService - Class in org.apache.fulcrum.cache.impl
-
Default implementation of EHCacheService (Ehcache 2)
- EHCacheService() - Constructor for class org.apache.fulcrum.cache.impl.EHCacheService
F
- flushCache() - Method in interface org.apache.fulcrum.cache.GlobalCacheService
-
Flush the cache of all objects.
- flushCache() - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Flush the cache of all objects.
- flushCache() - Method in class org.apache.fulcrum.cache.impl.EHCacheService
- flushCache() - Method in class org.apache.fulcrum.cache.impl.JCSCacheService
- FOREVER - Static variable in class org.apache.fulcrum.cache.CachedObject
-
Do not expire the object
G
- getCacheCheckFrequency() - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Get the Cache Check Frequency in milliseconds
- getCachedObjects() - Method in interface org.apache.fulcrum.cache.GlobalCacheService
-
Returns a copy of the non-expired CachedObjects in the cache as a list.
- getCachedObjects() - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Returns a copy of the non-expired CachedObjects in the cache as a list.
- getCachedObjects() - Method in class org.apache.fulcrum.cache.impl.EHCacheService
- getCachedObjects() - Method in class org.apache.fulcrum.cache.impl.JCSCacheService
- getCacheSize() - Method in interface org.apache.fulcrum.cache.GlobalCacheService
-
Returns the current size of the cache.
- getCacheSize() - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Returns the current size of the cache.
- getCacheSize() - Method in class org.apache.fulcrum.cache.impl.EHCacheService
- getCacheSize() - Method in class org.apache.fulcrum.cache.impl.JCSCacheService
- getContents() - Method in class org.apache.fulcrum.cache.CachedObject
-
Returns the cached object.
- getCreated() - Method in class org.apache.fulcrum.cache.CachedObject
-
Returns the creation time for the object.
- getExpires() - Method in class org.apache.fulcrum.cache.CachedObject
-
Returns the expiration time for the object.
- getKeys() - Method in interface org.apache.fulcrum.cache.GlobalCacheService
-
Returns a copy of keys to objects in the cache as a list.
- getKeys() - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Returns a copy of keys to objects in the cache as a list.
- getKeys() - Method in class org.apache.fulcrum.cache.impl.EHCacheService
- getKeys() - Method in class org.apache.fulcrum.cache.impl.JCSCacheService
- getLastAccess() - Method in class org.apache.fulcrum.cache.RefreshableCachedObject
- getNumberOfObjects() - Method in interface org.apache.fulcrum.cache.GlobalCacheService
-
Returns the number of objects in the cache.
- getNumberOfObjects() - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Returns the number of objects currently stored in the cache
- getNumberOfObjects() - Method in class org.apache.fulcrum.cache.impl.EHCacheService
- getNumberOfObjects() - Method in class org.apache.fulcrum.cache.impl.JCSCacheService
- getObject(String) - Method in interface org.apache.fulcrum.cache.GlobalCacheService
-
Gets a cached object given its id (a String).
- getObject(String) - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Returns an item from the cache. /** Returns an item from the cache.
- getObject(String) - Method in class org.apache.fulcrum.cache.impl.EHCacheService
- getObject(String) - Method in class org.apache.fulcrum.cache.impl.JCSCacheService
- getTTL() - Method in class org.apache.fulcrum.cache.RefreshableCachedObject
-
Gets the timeToLive value.
- GlobalCacheService - Interface in org.apache.fulcrum.cache
-
GlobalCacheService interface.
I
- INITIAL_CACHE_SIZE - Static variable in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
The property for the InitalCacheSize
- initialize() - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Avalon component lifecycle method
- initialize() - Method in class org.apache.fulcrum.cache.impl.EHCacheService
- initialize() - Method in class org.apache.fulcrum.cache.impl.JCSCacheService
- isStale() - Method in class org.apache.fulcrum.cache.CachedObject
-
Is the object stale?
- isUntouched() - Method in class org.apache.fulcrum.cache.RefreshableCachedObject
-
Returns true if the object hasn't been touched in the previous TTL period.
J
- JCSCacheService - Class in org.apache.fulcrum.cache.impl
-
Default implementation of JCSCacheService
- JCSCacheService() - Constructor for class org.apache.fulcrum.cache.impl.JCSCacheService
O
- ObjectExpiredException - Exception in org.apache.fulcrum.cache
-
Exception thrown when an item either does not exist or has expired from the GlobalCache.
- ObjectExpiredException() - Constructor for exception org.apache.fulcrum.cache.ObjectExpiredException
- org.apache.fulcrum.cache - package org.apache.fulcrum.cache
- org.apache.fulcrum.cache.impl - package org.apache.fulcrum.cache.impl
R
- refresh() - Method in interface org.apache.fulcrum.cache.Refreshable
-
Refreshes the object.
- refresh() - Method in class org.apache.fulcrum.cache.RefreshableCachedObject
-
Refresh the object and the created time.
- Refreshable - Interface in org.apache.fulcrum.cache
-
This is the interface for objects you want to refresh themselves from the cache.
- RefreshableCachedObject<T extends Refreshable> - Class in org.apache.fulcrum.cache
-
The idea of the RefreshableCachedObject is that, rather than removing items from the cache when they become stale, we'll tell them to refresh themselves instead.
- RefreshableCachedObject(T) - Constructor for class org.apache.fulcrum.cache.RefreshableCachedObject
-
Constructor; sets the object to expire in the default time (30 minutes).
- RefreshableCachedObject(T, long) - Constructor for class org.apache.fulcrum.cache.RefreshableCachedObject
-
Constructor.
- removeObject(String) - Method in interface org.apache.fulcrum.cache.GlobalCacheService
-
Removes an object from the cache.
- removeObject(String) - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Removes an object from the cache.
- removeObject(String) - Method in class org.apache.fulcrum.cache.impl.EHCacheService
- removeObject(String) - Method in class org.apache.fulcrum.cache.impl.JCSCacheService
- ROLE - Static variable in interface org.apache.fulcrum.cache.GlobalCacheService
-
Avalon role - used to id the component within the manager
- run() - Method in class org.apache.fulcrum.cache.impl.DefaultGlobalCacheService
-
Circle through the cache and remove stale objects.
- run() - Method in class org.apache.fulcrum.cache.impl.EHCacheService
-
Circle through the cache and refresh stale objects.
- run() - Method in class org.apache.fulcrum.cache.impl.JCSCacheService
-
Circle through the cache and refresh stale objects.
S
- setExpires(long) - Method in class org.apache.fulcrum.cache.CachedObject
-
Set the expiration interval for the object.
- setLastAccess(long) - Method in class org.apache.fulcrum.cache.RefreshableCachedObject
- setStale(boolean) - Method in class org.apache.fulcrum.cache.CachedObject
-
Set the stale status for the object.
- setTTL(long) - Method in class org.apache.fulcrum.cache.RefreshableCachedObject
-
Sets the timeToLive value
T
- touch() - Method in class org.apache.fulcrum.cache.RefreshableCachedObject
-
Sets the last access time to the current time.
All Classes All Packages