Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.cache
Class ImmutableCache

java.lang.Object
  extended by oracle.adfnmc.cache.SimpleCache
      extended by oracle.adfnmc.cache.ImmutableCache

public class ImmutableCache
extends SimpleCache


Field Summary
 
Fields inherited from class oracle.adfnmc.cache.SimpleCache
access, cddr, config, data, MAX_COUNT, MAX_IDLE, provider, UNTYPED
 
Constructor Summary
ImmutableCache(CacheProvider cacheProvider, java.lang.Object object)
          The immutable cache provides a way to cache non-overwritable objects.
 
Method Summary
 void put(java.lang.Object key, java.lang.Object value)
          Put an item (and update the last access timestamp) in the cache provided the key is not already present in the cache.
 
Methods inherited from class oracle.adfnmc.cache.SimpleCache
dumpCache, get, getConfiguration, keySet, log, log, put, reset, setConfiguration, size
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableCache

public ImmutableCache(CacheProvider cacheProvider,
                      java.lang.Object object)
The immutable cache provides a way to cache non-overwritable objects.

Method Detail

put

public void put(java.lang.Object key,
                java.lang.Object value)
Put an item (and update the last access timestamp) in the cache provided the key is not already present in the cache.

Parameters:
key - index into the cache
value - of the item adding to the cache

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.