|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CacheEntry | |
net.sf.ashkay | Ashkay is a strategy based caching tool. |
net.sf.ashkay.strategies |
Uses of CacheEntry in net.sf.ashkay |
Methods in net.sf.ashkay that return CacheEntry | |
CacheEntry |
CachingStrategy.prepare(CacheEntry entry)
Prepares the cache entry for caching with this strategy. NOTE: Be Careful: a caching strategy is allowed to return a different CacheEntry, so make sure that you store the results of this method and don't assume the symantics of pass by reference. |
Methods in net.sf.ashkay with parameters of type CacheEntry | |
CacheEntry |
CachingStrategy.prepare(CacheEntry entry)
Prepares the cache entry for caching with this strategy. NOTE: Be Careful: a caching strategy is allowed to return a different CacheEntry, so make sure that you store the results of this method and don't assume the symantics of pass by reference. |
boolean |
CachingStrategy.validate(CacheEntry entry)
Validates this cache entry for this caching strategy. |
Uses of CacheEntry in net.sf.ashkay.strategies |
Subclasses of CacheEntry in net.sf.ashkay.strategies | |
class |
SoftReferenceCacheEntry
SoftReferenceCacheEntry represents a cache entry that is wrapped in which the entry object is wrapped in a SoftReference in order to allow the garbage collector to still collect the object if all other hard references are destroyed. |
Methods in net.sf.ashkay.strategies that return CacheEntry | |
CacheEntry |
FullCachingStrategy.prepare(CacheEntry entry)
|
CacheEntry |
LastModifiedCachingStrategy.prepare(CacheEntry entry)
Prepares the cache entry for caching with this strategy. NOTE: Be Careful: a caching strategy is allowed to return a different CacheEntry, so make sure that you store the results of this method and don't assume the symantics of pass by reference. |
CacheEntry |
SoftReferenceCachingStrategy.prepare(CacheEntry entry)
|
CacheEntry |
TimeExpirationCachingStrategy.prepare(CacheEntry entry)
|
Methods in net.sf.ashkay.strategies with parameters of type CacheEntry | |
CacheEntry |
FullCachingStrategy.prepare(CacheEntry entry)
|
boolean |
FullCachingStrategy.validate(CacheEntry entry)
|
CacheEntry |
LastModifiedCachingStrategy.prepare(CacheEntry entry)
Prepares the cache entry for caching with this strategy. NOTE: Be Careful: a caching strategy is allowed to return a different CacheEntry, so make sure that you store the results of this method and don't assume the symantics of pass by reference. |
boolean |
LastModifiedCachingStrategy.validate(CacheEntry entry)
Validates this cache entry for this caching strategy. |
boolean |
NullCachingStrategy.validate(CacheEntry entry)
Always returns false. |
CacheEntry |
SoftReferenceCachingStrategy.prepare(CacheEntry entry)
|
boolean |
SoftReferenceCachingStrategy.validate(CacheEntry entry)
|
CacheEntry |
TimeExpirationCachingStrategy.prepare(CacheEntry entry)
|
boolean |
TimeExpirationCachingStrategy.validate(CacheEntry entry)
|
Constructors in net.sf.ashkay.strategies with parameters of type CacheEntry | |
SoftReferenceCacheEntry(CacheEntry originalEntry,
java.lang.ref.ReferenceQueue queue)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |