Package | Description |
---|---|
oracle.javatools.util |
Provides general utilities.
|
Modifier and Type | Field and Description |
---|---|
static Maps.CacheMap.Strength |
Maps.CacheMap.HARD |
static Maps.CacheMap.Strength |
Maps.CacheStrategy.SOFT |
static Maps.CacheMap.Strength |
Maps.CacheMap.SOFT |
static Maps.CacheMap.Strength |
Maps.CacheStrategy.STRONG |
static Maps.CacheMap.Strength |
Maps.CacheMap.STRONG |
static Maps.CacheMap.Strength |
Maps.CacheStrategy.WEAK |
static Maps.CacheMap.Strength |
Maps.CacheMap.WEAK |
Modifier and Type | Method and Description |
---|---|
Maps.CacheMap.Strength |
Maps.CacheStrategy.getDefaultStrength()
Gets the value reference type of the cache map.
|
static Maps.CacheMap.Strength |
Maps.CacheMap.Strength.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Maps.CacheMap.Strength[] |
Maps.CacheMap.Strength.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.
|
BoundedLruCacheStrategy(int bound,
Maps.CacheMap.Strength strength)
Constructs a bounded LRU (least recently used), canonical cache strategy.
|
CacheMap(int bound,
Maps.CacheMap.Strength strength)
Constructs a bounded LRU (least recently used), canonical cache map.
|
CacheMap(Maps.CacheMap.Strength strength)
Constructs an unbounded, non-canonical cache map.
|
CacheStrategy(int initialCapacity,
float loadFactor,
Maps.CacheMap.Canonicity canonicity,
Maps.CacheMap.Strength defaultStrength)
Constructs a cache strategy.
|
ManagedCacheMap(int bound,
Maps.CacheMap.Strength strength,
java.lang.String name)
Constructs a bounded LRU (least recently used) cache map.
|
ManagedCacheMap(Maps.CacheMap.Strength strength,
java.lang.String name)
Constructs an unbounded, non-canonical cache map.
|
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.
|
UnboundedCacheStrategy(Maps.CacheMap.Strength defaultStrength)
Constructs an unbounded, non-canonical cache strategy.
|