Yes, it does reinstate the object. The pertinent documentation
was hidden in all the cruft. I've copy-pasted it here:
public Object get(Object key)
Gets the object cached under the specified key.
The cache is looked up in the following manner:
1. The internal (L1) cache is checked. If the object
is found, it is returned.
2. This (L2) cache is checked. If the object is not
found, then the caller is informed that the object
3. Since the object exists in L2, but not in L1, the
object is readded to L1 using put(Object, Object).
4. If the readding succeeds, the value is returned
5. If a cache eviction exception is encountered
instead, we remove the object from L2 and behave
as if the object was inaccessible.
--- Alex Boisvert <boisvert@...> wrote:
> This all sounds good to me!
> Quick question: Does calling a get() on the SoftCache (L2)
> the object into the L1 cache? (if found, of course)