Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » cache » [javadoc | source]
org.hibernate.cache
public interface: QueryCache [javadoc | source]

All Known Implementing Classes:
    StandardQueryCache

Defines the contract for caches capable of storing query results. These caches should only concern themselves with storing the matching result ids. The transactional semantics are necessarily less strict than the semantics of an item cache.
Method from org.hibernate.cache.QueryCache Summary:
clear,   destroy,   get,   getRegion,   put
Method from org.hibernate.cache.QueryCache Detail:
 public  void clear() throws CacheException
 public  void destroy()
 public List get(QueryKey key,
    Type[] returnTypes,
    boolean isNaturalKeyLookup,
    Set spaces,
    SessionImplementor session) throws HibernateException
 public QueryResultsRegion getRegion()
 public boolean put(QueryKey key,
    Type[] returnTypes,
    List result,
    boolean isNaturalKeyLookup,
    SessionImplementor session) throws HibernateException