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

E17503-02

oracle.adfnmc.cache
Interface CacheProvider

All Known Implementing Classes:
MetaDataFrameworkManager

public interface CacheProvider


Method Summary
 java.lang.Object fetch(java.lang.Object key, java.lang.Object cddr)
          The CacheProvider method which is invoked with the underlying SimpleCache detects a cache miss when attempting to fetch from the cache.
 

Method Detail

fetch

java.lang.Object fetch(java.lang.Object key,
                       java.lang.Object cddr)
The CacheProvider method which is invoked with the underlying SimpleCache detects a cache miss when attempting to fetch from the cache. This method is responsible for loading the content from disk/db/... and storing it into the underlying SimpleCache.

Parameters:
key - the provider uses to determine what to load
cddr - the initial client data passed in when the cache was created
Returns:
the object to store in 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.