Package | Description |
---|---|
fc.util.cache |
Modifier and Type | Method and Description |
---|---|
static BoundedCache.Policy |
BoundedCache.Policy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoundedCache.Policy[] |
BoundedCache.Policy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
BoundedCache(BoundedCache.Policy cachePolicy,
int bound)
Creates a memory cache with a system-assigned name, logger and the specified
policy and bound.
|
BoundedCache(Log log,
String name,
BoundedCache.Policy cachePolicy,
int bound)
Instantiates this class with the specified name, logger, policy and cache size.
|