org.apache.cayenne.cache

## Interface QueryCacheEntryFactory

-     public interface QueryCacheEntryFactory

  A factory that is used by the cache to rebuild expired entries.
  Since:
    3.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List` | `createObject()` Provides a fresh value of the cache entry.

- - ### Method Detail

    - #### 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.

Copyright © 2001–2021 Apache Cayenne. All rights reserved.