public class StandardQueryCache extends java.lang.Object implements QueryCache
| Constructor and Description |
|---|
StandardQueryCache(Settings settings,
java.util.Properties props,
UpdateTimestampsCache updateTimestampsCache,
java.lang.String regionName) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
destroy() |
java.util.List |
get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
java.util.Set spaces,
SessionImplementor session) |
QueryResultsRegion |
getRegion() |
protected boolean |
isUpToDate(java.util.Set spaces,
java.lang.Long timestamp) |
boolean |
put(QueryKey key,
Type[] returnTypes,
java.util.List result,
boolean isNaturalKeyLookup,
SessionImplementor session) |
java.lang.String |
toString() |
public StandardQueryCache(Settings settings, java.util.Properties props, UpdateTimestampsCache updateTimestampsCache, java.lang.String regionName) throws HibernateException
HibernateExceptionpublic void clear()
throws CacheException
clear in interface QueryCacheCacheExceptionpublic boolean put(QueryKey key, Type[] returnTypes, java.util.List result, boolean isNaturalKeyLookup, SessionImplementor session) throws HibernateException
put in interface QueryCacheHibernateExceptionpublic java.util.List get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, java.util.Set spaces, SessionImplementor session) throws HibernateException
get in interface QueryCacheHibernateExceptionprotected boolean isUpToDate(java.util.Set spaces,
java.lang.Long timestamp)
public void destroy()
destroy in interface QueryCachepublic QueryResultsRegion getRegion()
getRegion in interface QueryCachepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013. All Rights Reserved.