get

Gets the finder query for the given mapping. The get operation can be
controlled by FetchConfiguration hints.
HINT_IGNORE_FINDER will ignore
any cached finder that may exist in this cache and will return null.
HINT_INVALIDATE_FINDER will
invalidate any cached finder that may exist in this cache and will return
null.

cache

Cache a Finder Query for the given mapping and select. The put operation
can be controlled by FetchConfiguration hints.
If no entry exists for the given mapping then an attempt is made to
create a new FinderQuery. The attempt, however, may not be successful
because all Selects can not be cached.

the finder query that has been cached. It may be newly
constructed or an existing query. If the given key-value can not be
cached, then return null.

See Also:

If a entry for the given mapping exists then the value of
{@link QueryHints#HINT_RECACHE_FINDER HINT_RECACHE_FINDER} hint
determines whether the existing entry is returned or a new FinderQuery
with the given argument overwrites the existing one.

markUncachable

Marks the given key as not amenable to caching.
Explicit marking helps to avoid repeated computational cost of
determining whether finder for a key can be cached or not.
Explicit marking can not be reversed by removal of exclusion patterns.