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
 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-2011 Apache Cayenne. All Rights Reserved.