Deprecated
Use QueryResultsCache instead -
CacheImplementor#getQueryResultsCache rather than
CacheImplementor#getQueryCache
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public List | Returns: The cached results; may be null.The cache key key, Type[] The result types returnTypes, boolean Was this a natural id lookup? isNaturalKeyLookup, Set<Serializable> The query spaces (used in invalidation plus validation checks) spaces, SharedSessionContractImplementor The originating session session)Get results from the cache. |
| public QueryResultsRegion | |
| public boolean | Returns: Whether the put actually happened.The cache key key, Type[] The result types returnTypes, List<E> The results to cache result, boolean Was this a natural id lookup? isNaturalKeyLookup, SharedSessionContractImplementor The originating session session)Put a result into the query cache. |
| clear | back to summary |
|---|---|
| public void clear() Clear items from the query cache.
| |
| destroy | back to summary |
|---|---|
| public void destroy() Destroy the cache. | |
| get | back to summary |
|---|---|
| public List Get results from the cache.
| |
| getRegion | back to summary |
|---|---|
| public QueryResultsRegion getRegion() The underlying cache factory region being used.
| |
| put | back to summary |
|---|---|
| public boolean put(QueryKey key, Type[] returnTypes, List<E> result, boolean isNaturalKeyLookup, SharedSessionContractImplementor session) Put a result into the query cache.
| |