javax.cache.Cache#loadAll(java.util.Set, boolean,
CompletionListener) method.
CompleteConfiguration#isReadThrough(), CacheWriter
| Modifier and Type | Method and Description |
|---|---|
| public V | Returns: The value for the entry that is to be stored in the cache ornull if the object can't be loadedthe key identifying the object being loaded key)Loads an object. |
| public Map |
| load | back to summary |
|---|---|
| public V load(K key) throws CacheLoaderException Loads an object. Application developers should implement this
method to customize the loading of a value for a cache entry. This method
is called by a cache when a requested entry is not in the cache. If
the object can't be loaded
| |
| loadAll | back to summary |
|---|---|
| public Map Loads multiple objects. Application developers should implement this method to customize the loading of cache entries. This method is called when the requested object is not in the cache. If an object can't be loaded, it is not returned in the resulting map.
| |