Package | Description |
---|---|
oracle.javatools.util |
Provides general utilities.
|
Modifier and Type | Field and Description |
---|---|
static Maps.CacheMap.Canonicity |
Maps.CacheStrategy.CANONICAL |
static Maps.CacheMap.Canonicity |
Maps.CacheMap.CANONICAL |
static Maps.CacheMap.Canonicity |
Maps.CacheStrategy.NOT_CANONICAL |
static Maps.CacheMap.Canonicity |
Maps.CacheMap.NOT_CANONICAL |
Modifier and Type | Method and Description |
---|---|
Maps.CacheMap.Canonicity |
Maps.CacheStrategy.getCanonicity()
Gets whether the cache maps canonically.
|
static Maps.CacheMap.Canonicity |
Maps.CacheMap.Canonicity.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Maps.CacheMap.Canonicity[] |
Maps.CacheMap.Canonicity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
BoundedLruCacheStrategy(int bound,
int initialCapacity,
float loadFactor,
Maps.CacheMap.Canonicity canonicity,
Maps.CacheMap.Strength strength)
Constructs a bounded LRU (least recently used) cache strategy.
|
BoundedLruCacheStrategy(int bound,
Maps.CacheMap.Canonicity canonicity,
Maps.CacheMap.Strength strength)
Constructs a bounded LRU (least recently used) cache strategy.
|
CacheMap(int bound,
Maps.CacheMap.Canonicity canonicity)
Constructs a bounded LRU (least recently used) cache map with
strongly-referenced values.
|
CacheStrategy(int initialCapacity,
float loadFactor,
Maps.CacheMap.Canonicity canonicity,
Maps.CacheMap.Strength defaultStrength)
Constructs a cache strategy.
|
TimedLruCacheStrategy(int time,
int bound,
int initialCapacity,
float loadFactor,
Maps.CacheMap.Canonicity canonicity,
Maps.CacheMap.Strength strength)
Constructs a timed, synchronous, bounded LRU (least recently used) cache
strategy.
|
TimedLruCacheStrategy(int time,
int period,
java.lang.Object lock,
int bound,
int initialCapacity,
float loadFactor,
Maps.CacheMap.Canonicity canonicity,
Maps.CacheMap.Strength strength)
Constructs a timed, bounded LRU (least recently used) cache strategy.
|
UnboundedCacheStrategy(int initialCapacity,
float loadFactor,
Maps.CacheMap.Canonicity canonicity,
Maps.CacheMap.Strength strength)
Constructs an unbounded cache strategy.
|
UnboundedCacheStrategy(Maps.CacheMap.Canonicity canonicity,
Maps.CacheMap.Strength strength)
Constructs an unbounded cache strategy.
|