Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.javatools.util
Class Maps.UnboundedCacheStrategy<K,V>

java.lang.Object
  extended by oracle.javatools.util.Maps.CacheStrategy<K,V>
      extended by oracle.javatools.util.Maps.UnboundedCacheStrategy<K,V>

All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Maps

public static class Maps.UnboundedCacheStrategy<K,V>
extends Maps.CacheStrategy<K,V>

An unbounded cache strategy.

See Also:
Maps.CacheStrategy, Serialized Form

Field Summary

 

Fields inherited from class oracle.javatools.util.Maps.CacheStrategy
CANONICAL, DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR, HARD, NONCANONICAL, NOT_CANONICAL, SOFT, STRONG, WEAK

 

Constructor Summary
Maps.UnboundedCacheStrategy()
          Constructs an unbounded, non-canonical cache strategy of strongly- referenced values.
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.

 

Method Summary

 

Methods inherited from class oracle.javatools.util.Maps.CacheStrategy
createDefaultEntry, createEntry, createEvictedEntry, createSoftEntry, createWeakEntry, entryAccessed, entryAdded, entryChanged, entryEvicted, entryPurged, entryRemoved, getCanonicity, getDefaultStrength, getInitialCapacity, getLoadFactor, mapChanged, mapConstructed

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Maps.UnboundedCacheStrategy

public Maps.UnboundedCacheStrategy()
Constructs an unbounded, non-canonical cache strategy of strongly- referenced values. The initial capacity and load factor are set to Maps.CacheStrategy.DEFAULT_INITIAL_CAPACITY and Maps.CacheStrategy.DEFAULT_LOAD_FACTOR, respectively.

Maps.UnboundedCacheStrategy

public Maps.UnboundedCacheStrategy(Maps.CacheMap.Strength defaultStrength)
Constructs an unbounded, non-canonical cache strategy. The initial capacity and load factor are set to Maps.CacheStrategy.DEFAULT_INITIAL_CAPACITY and Maps.CacheStrategy.DEFAULT_LOAD_FACTOR, respectively.
Parameters:
defaultStrength - The default strength of value references.

Maps.UnboundedCacheStrategy

public Maps.UnboundedCacheStrategy(Maps.CacheMap.Canonicity canonicity,
                                   Maps.CacheMap.Strength strength)
Constructs an unbounded cache strategy. The initial capacity and load factor are set to Maps.CacheStrategy.DEFAULT_INITIAL_CAPACITY and Maps.CacheStrategy.DEFAULT_LOAD_FACTOR, respectively.
Parameters:
canonicity - Canonicity of this cache.
strength - The strength of value references.

Maps.UnboundedCacheStrategy

public Maps.UnboundedCacheStrategy(int initialCapacity,
                                   float loadFactor,
                                   Maps.CacheMap.Canonicity canonicity,
                                   Maps.CacheMap.Strength strength)
Constructs an unbounded cache strategy.
Parameters:
initialCapacity - The initial capacity (see Maps.CacheStrategy.DEFAULT_INITIAL_CAPACITY).
loadFactor - The load factor (see Maps.CacheStrategy.DEFAULT_LOAD_FACTOR).
canonicity - Canonicity of this cache.
strength - The strength of value references.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.