Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » cache » [javadoc | source]
org.hibernate.cache
public class: StandardQueryCache [javadoc | source]
java.lang.Object
   org.hibernate.cache.StandardQueryCache

All Implemented Interfaces:
    QueryCache

The standard implementation of the Hibernate QueryCache interface. This implementation is very good at recognizing stale query results and and re-running queries when it detects this condition, recaching the new results.
Constructor:
 public StandardQueryCache(Settings settings,
    Properties props,
    UpdateTimestampsCache updateTimestampsCache,
    String regionName) throws HibernateException 
Method from org.hibernate.cache.StandardQueryCache Summary:
clear,   destroy,   get,   getRegion,   isUpToDate,   put,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.cache.StandardQueryCache 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() 
 protected boolean isUpToDate(Set spaces,
    Long timestamp) 
 public boolean put(QueryKey key,
    Type[] returnTypes,
    List result,
    boolean isNaturalKeyLookup,
    SessionImplementor session) throws HibernateException 
 public String toString()