public interface

QueryCache

org.hibernate.cache.QueryCache
Known Indirect Subclasses

Class Overview

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.

Summary

Public Methods
abstract void clear()
abstract void destroy()
abstract List get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, Set spaces, SessionImplementor session)
abstract QueryResultsRegion getRegion()
abstract boolean put(QueryKey key, Type[] returnTypes, List result, boolean isNaturalKeyLookup, SessionImplementor session)

Public Methods

public abstract void clear ()

public abstract void destroy ()

public abstract List get (QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, Set spaces, SessionImplementor session)

public abstract QueryResultsRegion getRegion ()

public abstract boolean put (QueryKey key, Type[] returnTypes, List result, boolean isNaturalKeyLookup, SessionImplementor session)