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
 java.lang.Object createObject()
          Provides a fresh value of the cache entry.
 

Method Detail

createObject

java.lang.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-2012 Apache Cayenne. All Rights Reserved.