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
HibernateException
public void clear() throws CacheException
clear
in interface QueryCache
CacheException
public boolean put(QueryKey key, Type[] returnTypes, java.util.List result, boolean isNaturalKeyLookup, SessionImplementor session) throws HibernateException
put
in interface QueryCache
HibernateException
public java.util.List get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, java.util.Set spaces, SessionImplementor session) throws HibernateException
get
in interface QueryCache
HibernateException
protected boolean isUpToDate(java.util.Set spaces, java.lang.Long timestamp)
public void destroy()
destroy
in interface QueryCache
public QueryResultsRegion getRegion()
getRegion
in interface QueryCache
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.