# Uses of Interface
org.apache.cayenne.cache.QueryCache

Packages that use QueryCache
Package
Description
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.cache
org.apache.cayenne.configuration.runtime
org.apache.cayenne.util
General utility classes.

- ## Uses of QueryCache in org.apache.cayenne.access

  Fields in org.apache.cayenne.access declared as QueryCache
  Modifier and Type
  Field
  Description
  `protected QueryCache`
  DataContext.`queryCache`
  `protected QueryCache`
  DataDomain.`queryCache`
  Methods in org.apache.cayenne.access that return QueryCache
  Modifier and Type
  Method
  Description
  `QueryCache`
  DataContext.`getQueryCache()`
  `QueryCache`
  DataDomain.`getQueryCache()`
  Returns shared `QueryCache` used by this DataDomain.
  Methods in org.apache.cayenne.access with parameters of type QueryCache
  Modifier and Type
  Method
  Description
  `void`
  DataContext.`setQueryCache(QueryCache queryCache)`
  Sets a QueryCache to be used for storing cached query results.
  `void`
  DataDomain.`setQueryCache(QueryCache queryCache)`

- ## Uses of QueryCache in org.apache.cayenne.cache

  Classes in org.apache.cayenne.cache that implement QueryCache
  Modifier and Type
  Class
  Description
  `class`
  `MapQueryCache`
  A default implementation of the `QueryCache` interface that stores data in a non-expiring LRUMap.
  `class`
  `NestedQueryCache`
  A `QueryCache` wrapper that introduces a key namespace on top of a delegate shared cache.
  Fields in org.apache.cayenne.cache declared as QueryCache
  Modifier and Type
  Field
  Description
  `protected QueryCache`
  NestedQueryCache.`delegate`
  Methods in org.apache.cayenne.cache that return QueryCache
  Modifier and Type
  Method
  Description
  `QueryCache`
  MapQueryCacheProvider.`get()`
  `QueryCache`
  NestedQueryCache.`getDelegate()`
  Returns the actual implementation of the query cache that is wrapped by this NestedQueryCache.
  Constructors in org.apache.cayenne.cache with parameters of type QueryCache
  Modifier
  Constructor
  Description
  ``
  `NestedQueryCache(QueryCache delegate)`

- ## Uses of QueryCache in org.apache.cayenne.configuration.runtime

  Fields in org.apache.cayenne.configuration.runtime declared as QueryCache
  Modifier and Type
  Field
  Description
  `protected QueryCache`
  DataContextFactory.`queryCache`
  `protected QueryCache`
  DataDomainProvider.`queryCache`

- ## Uses of QueryCache in org.apache.cayenne.util

  Methods in org.apache.cayenne.util that return QueryCache
  Modifier and Type
  Method
  Description
  `protected QueryCache`
  ObjectContextQueryAction.`getQueryCache()`