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.NONCANONICAL
Deprecated.
|
static Maps.CacheMap.Canonicity |
Maps.CacheMap.NONCANONICAL
Deprecated.
|
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 |
---|
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.CacheMap(int bound, Maps.CacheMap.Canonicity canonicity)
Constructs a bounded LRU (least recently used) cache map with strongly-referenced values.
|
Maps.CacheStrategy(int initialCapacity, float loadFactor, Maps.CacheMap.Canonicity canonicity, Maps.CacheMap.Strength defaultStrength)
Constructs a cache strategy.
|
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.
|