Package | Description |
---|---|
org.wamblee.cache |
This package provides an interface for a cache together with several implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
EhCache<KeyType extends Serializable,ValueType extends Serializable>
Cache implemented on top of EhCache.
|
class |
ForeverCache<KeyType extends Serializable,ValueType extends Serializable>
A very simple cache based on a HashMap, It never expires any entries, and has
no bounds on its size.
|
class |
ZeroCache<KeyType extends Serializable,ValueType extends Serializable>
A cache that does not cache.
|
Modifier and Type | Method and Description |
---|---|
Cache |
CachedObject.getCache()
Gets the cache.
|
Constructor and Description |
---|
CachedObject(Cache<KeyType,ValueType> aCache,
KeyType aObjectKey,
CachedObject.Computation<KeyType,ValueType> aComputation)
Constructs the cached object.
|
Copyright © 2024. All rights reserved.