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

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

- - ### Method Detail

    - #### createObject

          Object 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–2014 Apache Cayenne. All rights reserved.