| Package | Description |
|---|---|
| oracle.javatools.util |
Provides general utilities.
|
| Modifier and Type | Field and Description |
|---|---|
static Maps.CacheMap.Strength |
Maps.CacheStrategy.HARD
Deprecated.
|
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 |
|---|
Maps.BoundedLruCacheStrategy(int bound, int initialCapacity, float loadFactor, Maps.CacheMap.Canonicity canonicity, Maps.CacheMap.Strength strength)
Constructs a bounded LRU (least recently used) cache strategy.
|
Maps.BoundedLruCacheStrategy(int bound, Maps.CacheMap.Canonicity canonicity, Maps.CacheMap.Strength strength)
Constructs a bounded LRU (least recently used) cache strategy.
|
Maps.BoundedLruCacheStrategy(int bound, Maps.CacheMap.Strength strength)
Constructs a bounded LRU (least recently used), canonical cache strategy.
|
Maps.CacheMap(int bound, Maps.CacheMap.Strength strength)
Constructs a bounded LRU (least recently used), canonical cache map.
|
Maps.CacheMap(Maps.CacheMap.Strength strength)
Constructs an unbounded, non-canonical cache map.
|
Maps.CacheStrategy(int initialCapacity, float loadFactor, Maps.CacheMap.Canonicity canonicity, Maps.CacheMap.Strength defaultStrength)
Constructs a cache strategy.
|
Maps.ManagedCacheMap(int bound, Maps.CacheMap.Strength strength, java.lang.String name)
Constructs a bounded LRU (least recently used) cache map.
|
Maps.ManagedCacheMap(Maps.CacheMap.Strength strength, java.lang.String name)
Constructs an unbounded, non-canonical cache map.
|
Maps.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.
|
Maps.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.
|
Maps.UnboundedCacheStrategy(int initialCapacity, float loadFactor, Maps.CacheMap.Canonicity canonicity, Maps.CacheMap.Strength strength)
Constructs an unbounded cache strategy.
|
Maps.UnboundedCacheStrategy(Maps.CacheMap.Canonicity canonicity, Maps.CacheMap.Strength strength)
Constructs an unbounded cache strategy.
|
Maps.UnboundedCacheStrategy(Maps.CacheMap.Strength defaultStrength)
Constructs an unbounded, non-canonical cache strategy.
|