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

Packages that use QueryCache
Package
Description
org.apache.cayenne
Contains persistence APIs directly accessible by users.
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.cache
org.apache.cayenne.configuration.rop.client
org.apache.cayenne.configuration.server
org.apache.cayenne.util
General utility classes.

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

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

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

  Fields in org.apache.cayenne.access declared as QueryCache
  Modifier and Type
  Field
  Description
  `protected QueryCache`
  DataDomain.`queryCache`
  Methods in org.apache.cayenne.access that return QueryCache
  Modifier and Type
  Method
  Description
  `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`
  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.rop.client

  Fields in org.apache.cayenne.configuration.rop.client declared as QueryCache
  Modifier and Type
  Field
  Description
  `protected QueryCache`
  CayenneContextFactory.`queryCache`

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

  Fields in org.apache.cayenne.configuration.server 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()`