|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<Maps.CacheMap.Canonicity>
oracle.javatools.util.Maps.CacheMap.Canonicity
public static enum Maps.CacheMap.Canonicity
The canonicity of a mapping. A canonical mapping guarantees to always map a given key to the same value; a non-canonical mapping does not.
In practice, this means that a cache implementing a canonical mapping cannot simply remove an entry to evict it, but must convert it to a weak reference to ensure it is retained as long as the value is referenced from outside the cache.
Enum Constant Summary | |
---|---|
CANONICAL |
|
NOT_CANONICAL |
Method Summary | |
---|---|
static Maps.CacheMap.Canonicity |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static Maps.CacheMap.Canonicity[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Maps.CacheMap.Canonicity CANONICAL
public static final Maps.CacheMap.Canonicity NOT_CANONICAL
Method Detail |
---|
public static Maps.CacheMap.Canonicity[] values()
for (Maps.CacheMap.Canonicity c : Maps.CacheMap.Canonicity.values()) System.out.println(c);
public static Maps.CacheMap.Canonicity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |