QueryCacheEntryFactory (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.cache, interface: QueryCacheEntryFactory

# Interface QueryCacheEntryFactory

public interface QueryCacheEntryFactory
A factory that is used by the cache to rebuild expired entries.

Since:
  3.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List`
  `createObject()`
  Provides a fresh value of the cache entry.

- ## Method Details

  - ### createObject

    List createObject()
    Provides a fresh value of the cache entry. Normally this operation would perform a database query. This operation must not return null.