org.hibernate.cache
Interface QueryCache
- All Known Implementing Classes:
- StandardQueryCache
public interface QueryCache
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.
- Author:
- Gavin King
clear
void clear()
throws CacheException
- Throws:
CacheException
put
boolean put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SessionImplementor session)
throws HibernateException
- Throws:
HibernateException
get
List get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set spaces,
SessionImplementor session)
throws HibernateException
- Throws:
HibernateException
destroy
void destroy()
getRegion
QueryResultsRegion getRegion()
Copyright © null-null Red Hat Middleware, LLC. All Rights Reserved