| Package | Description |
|---|---|
| org.boon.cache |
| Modifier and Type | Method and Description |
|---|---|
static CacheType |
CacheType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheType[] |
CacheType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
FastConcurrentReadLruLfuFifoCache(int evictSize,
Tradeoffs tradeoffs,
CacheType type)
New cache
|
SimpleCache(int limit,
CacheType type) |
SimpleConcurrentCache(int limit,
boolean fair,
CacheType type)
Limit of hte cache size
|
SimpleConcurrentCache(int limit,
CacheType type)
New
|
SimpleConcurrentCache(int concurrency,
int limit,
boolean fair,
CacheType type)
The more stripes the less accurate the LRU but the faster the access.
|
Copyright © 2015. All Rights Reserved.