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

A

AbstractMapBackedCache - class com.whirlycott.cache.impl.AbstractMapBackedCache.
This is an abstract class for help in developing a cache backend using an implementation of java.util.Map.
AbstractMapBackedCache() - Constructor for class com.whirlycott.cache.impl.AbstractMapBackedCache
 
AddedComparator - class com.whirlycott.cache.policy.AddedComparator.
A comparison function, used by FIFOMaintenancePolicy, which determines whether one Item was added before a second Item.
AddedComparator() - Constructor for class com.whirlycott.cache.policy.AddedComparator
 
adaptiveMemorySize - Variable in class com.whirlycott.cache.CacheDecorator
This is the memory size for the adaptive caching in implementations that support it.
adaptiveMemorySizeOverflow - Variable in class com.whirlycott.cache.CacheDecorator
Overflow buffer for the adaptive array.
adaptiveResultCounter - Variable in class com.whirlycott.cache.CacheDecorator
The counter for our current position in the adaptive result array.
adaptiveResults - Variable in class com.whirlycott.cache.CacheDecorator
The array that holds the adaptive results.
added - Variable in class com.whirlycott.cache.Item
Relative time that the Item was added to the cache.

B

BUILD_STATS_ENABLED - Static variable in class com.whirlycott.cache.Constants
If statistics collection is enabled at build time, this is set to true.
buildCache(String, Properties) - Method in class com.whirlycott.cache.hibernate.WhirlycacheProvider
 

C

CONFIG_BACKEND - Static variable in class com.whirlycott.cache.Constants
Name of a node in the XML configuration file.
CONFIG_CACHE - Static variable in class com.whirlycott.cache.Constants
Name of a node in the XML configuration file.
CONFIG_FILE - Static variable in class com.whirlycott.cache.Constants
The user-supplied configuration file.
CONFIG_MAXSIZE - Static variable in class com.whirlycott.cache.Constants
Name of a node in the XML configuration file.
CONFIG_NAME - Static variable in class com.whirlycott.cache.Constants
Name of an attribute in the XML configuration file.
CONFIG_POLICY - Static variable in class com.whirlycott.cache.Constants
Name of a node in the XML configuration file.
CONFIG_TUNER_SLEEPTIME - Static variable in class com.whirlycott.cache.Constants
Name of a node in the XML configuration file.
Cache - interface com.whirlycott.cache.Cache.
Defines a simple interface that all caches should implement.
CacheConfiguration - class com.whirlycott.cache.CacheConfiguration.
Represents the configuration for an individual Cache object.
CacheConfiguration() - Constructor for class com.whirlycott.cache.CacheConfiguration
 
CacheDecorator - class com.whirlycott.cache.CacheDecorator.
Owns the cache tuning thread and provides housekeeping facilities for ManagedCache implementations.
CacheDecorator(ManagedCache, CacheConfiguration, CacheMaintenancePolicy[]) - Constructor for class com.whirlycott.cache.CacheDecorator
Constructor for a CacheDecorator.
CacheException - exception com.whirlycott.cache.CacheException.
Gets thrown when problems occur with the Whirlycache.
CacheException() - Constructor for class com.whirlycott.cache.CacheException
 
CacheException(String) - Constructor for class com.whirlycott.cache.CacheException
 
CacheException(Throwable) - Constructor for class com.whirlycott.cache.CacheException
 
CacheException(String, Throwable) - Constructor for class com.whirlycott.cache.CacheException
 
CacheMaintenancePolicy - interface com.whirlycott.cache.CacheMaintenancePolicy.
This interface defines the operations in a cache maintenance policy.
CacheManager - class com.whirlycott.cache.CacheManager.
The CacheManager manages caches by creating and deleting them.
CacheManagerListener - class com.whirlycott.cache.servlet.CacheManagerListener.
Shuts down cache whenever the context reloads.
CacheManagerListener() - Constructor for class com.whirlycott.cache.servlet.CacheManagerListener
 
Cacheable - interface com.whirlycott.cache.Cacheable.
This is an optional interface for object keys which may be stored in the cache.
ConcurrentHashMapImpl - class com.whirlycott.cache.impl.ConcurrentHashMapImpl.
This is a ManagedCache implementation based on Doug Lea's excellent ConcurrentHashMap in his util.concurrent library:
ConcurrentHashMapImpl() - Constructor for class com.whirlycott.cache.impl.ConcurrentHashMapImpl
 
Constants - class com.whirlycott.cache.Constants.
Serves to encapsulate several constant values.
Constants() - Constructor for class com.whirlycott.cache.Constants
 
CountComparator - class com.whirlycott.cache.policy.CountComparator.
A comparison function, used by LFUMaintenancePolicy, which determines whether one Item has been used more than a second Item, using said Items' count properties.
CountComparator() - Constructor for class com.whirlycott.cache.policy.CountComparator
 
c - Variable in class com.whirlycott.cache.impl.AbstractMapBackedCache
Underlying Map to store cached objects in.
calculateQueriesPerSecond(long) - Method in class com.whirlycott.cache.RecordKeeper
 
clear() - Method in interface com.whirlycott.cache.Cache
Clear the cache.
clear() - Method in class com.whirlycott.cache.CacheDecorator
Clears the cache.
clear() - Method in class com.whirlycott.cache.component.store.WhirlycacheStore
Clears all items in the cache.
clear() - Method in class com.whirlycott.cache.hibernate.WhirlycachePlugin
 
clear() - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 
com.whirlycott.cache - package com.whirlycott.cache
The main Whirlycache package contains the main interfaces and system components.
com.whirlycott.cache.component.store - package com.whirlycott.cache.component.store
Mainly interesting to users of the Cocoon web application framework.
com.whirlycott.cache.hibernate - package com.whirlycott.cache.hibernate
Contains support for using Whirlycache as a Hibernate Cache plugin.
com.whirlycott.cache.impl - package com.whirlycott.cache.impl
Concrete implementations of the ManagedCache interface go here.
com.whirlycott.cache.policy - package com.whirlycott.cache.policy
Policy implementations are used by the CacheManager to handle the removal of cache Items.
com.whirlycott.cache.servlet - package com.whirlycott.cache.servlet
Right now, we only have one class that's specific to the web, but hopefully we'll have a few more to add soon.
compare(Object, Object) - Method in class com.whirlycott.cache.policy.AddedComparator
Compares two Item objects based on their relative times added to the cache.
compare(Object, Object) - Method in class com.whirlycott.cache.policy.CountComparator
Compares two Item objects based on their count properties.
compare(Object, Object) - Method in class com.whirlycott.cache.policy.UsedComparator
Compares two Item objects based on their relative last-used time.
configuration - Static variable in class com.whirlycott.cache.CacheManager
Holds a representation of the configuration.
configure(CacheConfiguration) - Method in class com.whirlycott.cache.CacheDecorator
Configures the Cache being decorated.
configure() - Method in class com.whirlycott.cache.CacheManager
Initializes based on the whirlycache.xml configuration file.
configure(Configuration) - Method in class com.whirlycott.cache.component.store.WhirlycacheStore
Configure the cache using a Configuration object.
containsKey(Object) - Method in class com.whirlycott.cache.component.store.WhirlycacheStore
I can't imagine why anybody would rely on this method.
containsKey(Object) - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 
containsValue(Object) - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 
contextDestroyed(ServletContextEvent) - Method in class com.whirlycott.cache.servlet.CacheManagerListener
Executes on context shutdown.
contextInitialized(ServletContextEvent) - Method in class com.whirlycott.cache.servlet.CacheManagerListener
Executes on context initialization.
count - Variable in class com.whirlycott.cache.Item
Number of times that the Item has been accessed.
countLock - Variable in class com.whirlycott.cache.Item
Lock for the counter.
createCache(CacheConfiguration) - Method in class com.whirlycott.cache.CacheManager
Initialize a Cache.
currentTime - Variable in class com.whirlycott.cache.CacheDecorator
The current time (accurate to sleepTime ms).

D

DEFAULT_CONFIG_FILE - Static variable in class com.whirlycott.cache.Constants
The backup configuration file (only used in case whirlycache.xml is not found.
destroy() - Method in class com.whirlycott.cache.CacheManager
Destroys the default cache.
destroy(String) - Method in class com.whirlycott.cache.CacheManager
Shut down an individual Cache.
destroy() - Method in class com.whirlycott.cache.hibernate.WhirlycachePlugin
 
destroy() - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 
dispose() - Method in class com.whirlycott.cache.component.store.WhirlycacheStore
Shuts down the Whirlycache and its associated tuning thread.
doAdaptiveAccounting(int) - Method in class com.whirlycott.cache.CacheDecorator
Looks at the last 'n' queries to determine whether the Cache should turn on optimizations for a mostly-read environment (if the underlying implementation of ManagedCache supports this).

E

ExpirationTimePredicate - class com.whirlycott.cache.policy.ExpirationTimePredicate.
A predicate for filtering Collections of Items based on their expiration time.
ExpirationTimePredicate(long) - Constructor for class com.whirlycott.cache.policy.ExpirationTimePredicate
Creates an ExpirationTimePredicate.
entrySet() - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 
evaluate(Object) - Method in class com.whirlycott.cache.policy.ExpirationTimePredicate
Only Items with an expiration time that has passed will cause this to return true.
expireItems() - Method in class com.whirlycott.cache.CacheDecorator
Expires Items in need of expiration.
expiresAfter - Variable in class com.whirlycott.cache.Item
Expire this Item after this much time.

F

FIFOMaintenancePolicy - class com.whirlycott.cache.policy.FIFOMaintenancePolicy.
This policy removes cache items in the order in which they were added.
FIFOMaintenancePolicy() - Constructor for class com.whirlycott.cache.policy.FIFOMaintenancePolicy
 
FastHashMapImpl - class com.whirlycott.cache.impl.FastHashMapImpl.
This is a generic object cache using the Apache Jakarta Commons FastHashMap implementation.
FastHashMapImpl() - Constructor for class com.whirlycott.cache.impl.FastHashMapImpl
 
free() - Method in class com.whirlycott.cache.component.store.WhirlycacheStore
This method is not supported by Whirlycache.

G

get(Object) - Method in class com.whirlycott.cache.component.store.WhirlycacheStore
Gets an object out of the whirlycache
get(Object) - Method in class com.whirlycott.cache.hibernate.WhirlycachePlugin
 
get(Object) - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 
getAdaptiveMemorySize() - Method in class com.whirlycott.cache.CacheDecorator
 
getAdaptiveRatio() - Method in class com.whirlycott.cache.CacheDecorator
Calculates the adaptive hit rate for this cache.
getAdded() - Method in class com.whirlycott.cache.Item
 
getAttribute(String) - Method in class com.whirlycott.cache.CacheConfiguration
 
getBackend() - Method in class com.whirlycott.cache.CacheConfiguration
 
getCache() - Method in class com.whirlycott.cache.CacheManager
Gets a reference to the default Cache.
getCache(String) - Method in class com.whirlycott.cache.CacheManager
Get a Cache by name.
getCacheNames() - Method in class com.whirlycott.cache.CacheManager
Returns an array of the named caches that this CacheManager knows about (including the default cache).
getCompoundString(String, Object[]) - Static method in class com.whirlycott.cache.Messages
 
getConfiguration() - Static method in class com.whirlycott.cache.CacheManager
 
getCount() - Method in class com.whirlycott.cache.Item
 
getEfficiencyReport() - Method in class com.whirlycott.cache.CacheDecorator
Returns an efficiency report string for this cache.
getExpiresAfter() - Method in class com.whirlycott.cache.Item
 
getHits() - Method in class com.whirlycott.cache.RecordKeeper
 
getInstance() - Static method in class com.whirlycott.cache.CacheManager
Returns an instance of the CacheManager.
getItem() - Method in class com.whirlycott.cache.Item
 
getMaxSize() - Method in class com.whirlycott.cache.CacheConfiguration
 
getMaxSize() - Method in class com.whirlycott.cache.CacheDecorator
Get the maximum size of the cache.
getName() - Method in class com.whirlycott.cache.CacheConfiguration
 
getPolicy() - Method in class com.whirlycott.cache.CacheConfiguration
 
getPolicy() - Method in class com.whirlycott.cache.CacheDecorator
 
getQueriesPerSecond() - Method in class com.whirlycott.cache.RecordKeeper
 
getSleepTime() - Method in class com.whirlycott.cache.CacheDecorator
 
getString(String) - Static method in class com.whirlycott.cache.Messages
 
getTimeout() - Method in class com.whirlycott.cache.hibernate.WhirlycachePlugin
 
getTotalHitrate() - Method in class com.whirlycott.cache.CacheDecorator
Returns the total hitrate since this Cache was started.
getTotalOperations() - Method in class com.whirlycott.cache.RecordKeeper
 
getTunerSleepTime() - Method in class com.whirlycott.cache.CacheConfiguration
 
getUsed() - Method in class com.whirlycott.cache.Item
 

I

ITEM_EXPIRATION_ENABLED - Static variable in class com.whirlycott.cache.Constants
If Item expiration is enabled at build time, this is set to true.
Item - class com.whirlycott.cache.Item.
Wraps an item in the cache and records some information about when it was last used, added, etc.
Item(Object, long, long) - Constructor for class com.whirlycott.cache.Item
 
incrementHits() - Method in class com.whirlycott.cache.RecordKeeper
Increment hits.
incrementTotalOperations() - Method in class com.whirlycott.cache.RecordKeeper
Increment the total operation counter.
initialize() - Method in class com.whirlycott.cache.component.store.WhirlycacheStore
Initializes a Whirlycache.
internalRemove(Object) - Method in class com.whirlycott.cache.CacheDecorator
An internal remove operation.
internalRetrieve(Object) - Method in class com.whirlycott.cache.CacheDecorator
 
internalStore(Object, Object, long) - Method in class com.whirlycott.cache.CacheDecorator
All stores go through this.
isEmpty() - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 
item - Variable in class com.whirlycott.cache.Item
 

K

keySet() - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 
keys() - Method in class com.whirlycott.cache.component.store.WhirlycacheStore
We don't support keys().

L

LFUMaintenancePolicy - class com.whirlycott.cache.policy.LFUMaintenancePolicy.
This policy removes cached items, biased towards least frequently used (LFU) Items.
LFUMaintenancePolicy() - Constructor for class com.whirlycott.cache.policy.LFUMaintenancePolicy
 
LRUMaintenancePolicy - class com.whirlycott.cache.policy.LRUMaintenancePolicy.
This policy removes cached items, biased towards least recently used (LRU) Items.
LRUMaintenancePolicy() - Constructor for class com.whirlycott.cache.policy.LRUMaintenancePolicy
 
loadConfigFile(String) - Method in class com.whirlycott.cache.CacheManager
Loads the specified config file.
lock(Object) - Method in class com.whirlycott.cache.hibernate.WhirlycachePlugin
 
logStatistics() - Method in class com.whirlycott.cache.CacheDecorator
Log some cache usage data depending on some conditions.

M

ManagedCache - interface com.whirlycott.cache.ManagedCache.
This is the interface that all backend caching systems must implement.
Messages - class com.whirlycott.cache.Messages.
Utility class for getting access to internationalized log messages.
managedCache - Variable in class com.whirlycott.cache.CacheDecorator
This is the cache we're managing.
managedCache - Variable in class com.whirlycott.cache.policy.FIFOMaintenancePolicy
 
managedCache - Variable in class com.whirlycott.cache.policy.LFUMaintenancePolicy
 
managedCache - Variable in class com.whirlycott.cache.policy.LRUMaintenancePolicy
 
maxSize - Variable in class com.whirlycott.cache.CacheDecorator
The soft limit of the max number of items that can be put in the cache.
maxSize - Variable in class com.whirlycott.cache.policy.FIFOMaintenancePolicy
 
maxSize - Variable in class com.whirlycott.cache.policy.LFUMaintenancePolicy
 
maxSize - Variable in class com.whirlycott.cache.policy.LRUMaintenancePolicy
 

N

NullPolicy - class com.whirlycott.cache.policy.NullPolicy.
This policy does nothing and is sometimes useful for debugging.
NullPolicy() - Constructor for class com.whirlycott.cache.policy.NullPolicy
 
name - Variable in class com.whirlycott.cache.CacheDecorator
Name of this cache
namedCaches - Variable in class com.whirlycott.cache.CacheManager
Holds a Map of the caches that have been created from the config file.
nextTimestamp() - Method in class com.whirlycott.cache.hibernate.WhirlycachePlugin
 
nextTimestamp() - Method in class com.whirlycott.cache.hibernate.WhirlycacheProvider
 

O

onRemove(Object) - Method in interface com.whirlycott.cache.Cacheable
Hook for actions to be performed during a remove() operation.
onRetrieve(Object) - Method in interface com.whirlycott.cache.Cacheable
Hook for actions to be performed during a retrieve() operation.
onStore(Object) - Method in interface com.whirlycott.cache.Cacheable
Hook for actions to be performed during a store() operation.

P

performMaintenance() - Method in interface com.whirlycott.cache.CacheMaintenancePolicy
Performs housekeeping on the associated ManagedCache instance (typically removes Items based on varying criteria).
performMaintenance() - Method in class com.whirlycott.cache.policy.FIFOMaintenancePolicy
 
performMaintenance() - Method in class com.whirlycott.cache.policy.LFUMaintenancePolicy
 
performMaintenance() - Method in class com.whirlycott.cache.policy.LRUMaintenancePolicy
 
performMaintenance() - Method in class com.whirlycott.cache.policy.NullPolicy
 
put(Object, Object) - Method in class com.whirlycott.cache.hibernate.WhirlycachePlugin
 
put(Object, Object) - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 
putAll(Map) - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 

R

RecordKeeper - class com.whirlycott.cache.RecordKeeper.
Encapsulates runtime stats for a Cache.
RecordKeeper() - Constructor for class com.whirlycott.cache.RecordKeeper
 
recordKeeper - Variable in class com.whirlycott.cache.CacheDecorator
We keep all of the stats in the recordkeeper.
remove(Object) - Method in interface com.whirlycott.cache.Cache
Remove an object from the cache.
remove(Cacheable) - Method in interface com.whirlycott.cache.Cache
Removes an object from the cache and executes the onRemove() method.
remove(Cacheable) - Method in class com.whirlycott.cache.CacheDecorator
 
remove(Object) - Method in class com.whirlycott.cache.CacheDecorator
Removes an Object from the Cache and returns the removed Object.
remove(Object) - Method in class com.whirlycott.cache.component.store.WhirlycacheStore
Removes the specified object from the cache.
remove(Object) - Method in class com.whirlycott.cache.hibernate.WhirlycachePlugin
 
remove(Object) - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 
reset() - Method in class com.whirlycott.cache.RecordKeeper
Reset the values.
retrieve(Object) - Method in interface com.whirlycott.cache.Cache
Retrieve an object from the cache.
retrieve(Cacheable) - Method in interface com.whirlycott.cache.Cache
Retrieve an object whose key implements Cacheable.
retrieve(Cacheable) - Method in class com.whirlycott.cache.CacheDecorator
 
retrieve(Object) - Method in class com.whirlycott.cache.CacheDecorator
Gets an Object from the Cache.
retrieve(Object) - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 
run() - Method in class com.whirlycott.cache.CacheDecorator
Starts up the background maintenance thread.

S

SynchronizedHashMapImpl - class com.whirlycott.cache.impl.SynchronizedHashMapImpl.
This is a java.util.HashMap-backed (using synchronization) implementation of a ManagedCache.
SynchronizedHashMapImpl() - Constructor for class com.whirlycott.cache.impl.SynchronizedHashMapImpl
 
setAdaptiveMemorySize(int) - Method in class com.whirlycott.cache.CacheDecorator
 
setAttribute(String, String) - Method in class com.whirlycott.cache.CacheConfiguration
 
setBackend(String) - Method in class com.whirlycott.cache.CacheConfiguration
 
setCache(ManagedCache) - Method in interface com.whirlycott.cache.CacheMaintenancePolicy
Set the ManagedCache instance to which this policy applies.
setCache(ManagedCache) - Method in class com.whirlycott.cache.policy.FIFOMaintenancePolicy
 
setCache(ManagedCache) - Method in class com.whirlycott.cache.policy.LFUMaintenancePolicy
 
setCache(ManagedCache) - Method in class com.whirlycott.cache.policy.LRUMaintenancePolicy
 
setCache(ManagedCache) - Method in class com.whirlycott.cache.policy.NullPolicy
 
setConfiguration(CacheConfiguration) - Method in interface com.whirlycott.cache.CacheMaintenancePolicy
Provide a configuration for this policy.
setConfiguration(CacheConfiguration) - Method in class com.whirlycott.cache.policy.FIFOMaintenancePolicy
 
setConfiguration(CacheConfiguration) - Method in class com.whirlycott.cache.policy.LFUMaintenancePolicy
 
setConfiguration(CacheConfiguration) - Method in class com.whirlycott.cache.policy.LRUMaintenancePolicy
 
setConfiguration(CacheConfiguration) - Method in class com.whirlycott.cache.policy.NullPolicy
 
setCount(long) - Method in class com.whirlycott.cache.Item
 
setHits(long) - Method in class com.whirlycott.cache.RecordKeeper
 
setManagedCache(ManagedCache) - Method in class com.whirlycott.cache.CacheDecorator
Specify the ManagedCache that this Decorator owns.
setMaxSize(int) - Method in class com.whirlycott.cache.CacheConfiguration
 
setMaxSize(int) - Method in class com.whirlycott.cache.CacheDecorator
 
setMostlyRead(boolean) - Method in class com.whirlycott.cache.CacheDecorator
Tells the underlying ManagedCache implementation to turn on optimizations for a mostly-read environment (if supported).
setMostlyRead(boolean) - Method in interface com.whirlycott.cache.ManagedCache
For ManagedCache implementations that can perform optimizations for mostly-read environments.
setMostlyRead(boolean) - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 
setMostlyRead(boolean) - Method in class com.whirlycott.cache.impl.ConcurrentHashMapImpl
 
setMostlyRead(boolean) - Method in class com.whirlycott.cache.impl.FastHashMapImpl
 
setMostlyRead(boolean) - Method in class com.whirlycott.cache.impl.SynchronizedHashMapImpl
 
setName(String) - Method in class com.whirlycott.cache.CacheConfiguration
 
setPolicy(String) - Method in class com.whirlycott.cache.CacheConfiguration
 
setSleepTime(long) - Method in class com.whirlycott.cache.CacheDecorator
 
setTunerSleepTime(int) - Method in class com.whirlycott.cache.CacheConfiguration
 
shutdown() - Method in class com.whirlycott.cache.CacheDecorator
Shut down this cache.
shutdown() - Method in class com.whirlycott.cache.CacheManager
Shuts down the manager of all of the Caches, which in turn shuts down all of the Caches.
singleton - Static variable in class com.whirlycott.cache.CacheManager
 
size() - Method in interface com.whirlycott.cache.Cache
Get the current size of the cache.
size() - Method in class com.whirlycott.cache.CacheDecorator
Returns the number of items in the Cache.
size() - Method in class com.whirlycott.cache.component.store.WhirlycacheStore
Returns the number of items in the cache.
size() - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 
sleepTime - Variable in class com.whirlycott.cache.CacheDecorator
There's a default sleep time of 10 seconds.
startTuneCycle() - Method in class com.whirlycott.cache.RecordKeeper
 
store(Object, Object) - Method in interface com.whirlycott.cache.Cache
Store an object in the cache.
store(Cacheable, Object) - Method in interface com.whirlycott.cache.Cache
Store an object in the cache with a Cacheable key.
store(Object, Object, long) - Method in interface com.whirlycott.cache.Cache
Store an object in the cache.
store(Cacheable, Object, long) - Method in interface com.whirlycott.cache.Cache
Store an object in the cache with a Cacheable key.
store(Cacheable, Object) - Method in class com.whirlycott.cache.CacheDecorator
 
store(Cacheable, Object, long) - Method in class com.whirlycott.cache.CacheDecorator
 
store(Object, Object) - Method in class com.whirlycott.cache.CacheDecorator
Store an object in the cache.
store(Object, Object, long) - Method in class com.whirlycott.cache.CacheDecorator
 
store(Object, Object) - Method in interface com.whirlycott.cache.ManagedCache
Store an Object in the cache.
store(Object, Object) - Method in class com.whirlycott.cache.component.store.WhirlycacheStore
Stores a value in the cache that can be retrieved using 'key'.
store(Object, Object) - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 

T

tuneCache() - Method in class com.whirlycott.cache.CacheDecorator
Tunes the managed cache for a mostly read or write environment.
tunerThread - Variable in class com.whirlycott.cache.CacheDecorator
Reference to the cache tuning thread.

U

UsedComparator - class com.whirlycott.cache.policy.UsedComparator.
A comparison function, used by LRUMaintenancePolicy, which determines whether one Item has been used more recently than a second Item, using said Items' used properties.
UsedComparator() - Constructor for class com.whirlycott.cache.policy.UsedComparator
 
unlock(Object) - Method in class com.whirlycott.cache.hibernate.WhirlycachePlugin
 
used - Variable in class com.whirlycott.cache.Item
Relative time that the Item was last used.

V

values() - Method in class com.whirlycott.cache.impl.AbstractMapBackedCache
 

W

WhirlycachePlugin - class com.whirlycott.cache.hibernate.WhirlycachePlugin.
 
WhirlycachePlugin(String) - Constructor for class com.whirlycott.cache.hibernate.WhirlycachePlugin
 
WhirlycacheProvider - class com.whirlycott.cache.hibernate.WhirlycacheProvider.
 
WhirlycacheProvider() - Constructor for class com.whirlycott.cache.hibernate.WhirlycacheProvider
 
WhirlycacheStore - class com.whirlycott.cache.component.store.WhirlycacheStore.
Implementation of the Apache Excalibur Store using Whirlycache as the backend.
WhirlycacheStore() - Constructor for class com.whirlycott.cache.component.store.WhirlycacheStore
 

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