QueryResultsCache instead -
 CacheImplementor.getQueryResultsCache(java.lang.String) rather than
 CacheImplementor.getQueryCache()@Deprecated public interface QueryCache
| Modifier and Type | Method and Description | 
|---|---|
| void | clear()Deprecated.  Clear items from the query cache. | 
| void | destroy()Deprecated.  Destroy the cache. | 
| List | get(QueryKey key,
   Type[] returnTypes,
   boolean isNaturalKeyLookup,
   Set<Serializable> spaces,
   SharedSessionContractImplementor session)Deprecated.  Get results from the cache. | 
| QueryResultsRegion | getRegion()Deprecated.  The underlying cache factory region being used. | 
| boolean | put(QueryKey key,
   Type[] returnTypes,
   List result,
   boolean isNaturalKeyLookup,
   SharedSessionContractImplementor session)Deprecated.  Put a result into the query cache. | 
void clear()
CacheException - Indicates a problem delegating to the underlying cache.boolean put(QueryKey key, Type[] returnTypes, List result, boolean isNaturalKeyLookup, SharedSessionContractImplementor session)
key - The cache keyreturnTypes - The result typesresult - The results to cacheisNaturalKeyLookup - Was this a natural id lookup?session - The originating sessionList get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, Set<Serializable> spaces, SharedSessionContractImplementor session)
key - The cache keyreturnTypes - The result typesisNaturalKeyLookup - Was this a natural id lookup?spaces - The query spaces (used in invalidation plus validation checks)session - The originating sessionvoid destroy()
QueryResultsRegion getRegion()
Copyright © 2019 JBoss by Red Hat. All rights reserved.