# 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

- ## 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 final 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.
  Constructors in org.apache.cayenne.access with parameters of type QueryCache
  Modifier
  Constructor
  Description
  ``
  `DataDomain(String name, TransactionManager transactionManager, TransactionFactory transactionFactory, DataDomainFlushActionFactory flushActionFactory, AdhocObjectFactory objectFactory, EventManager eventManager, QueryCache queryCache, DataRowStore sharedSnapshotCache, int maxIdQualifierSize, boolean validatingObjectsOnCommit, EntityResolver entityResolver, EntitySorter entitySorter)`

- ## 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.
  Classes in org.apache.cayenne.cache that implement interfaces with type arguments of type QueryCache
  Modifier and Type
  Class
  Description
  `class`
  `MapQueryCacheProvider`
  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`