public class StandardQueryCacheFactory extends java.lang.Object implements QueryCacheFactory
StandardQueryCache.| Modifier and Type | Field and Description |
|---|---|
static StandardQueryCacheFactory |
INSTANCE
Singleton access
|
| Constructor and Description |
|---|
StandardQueryCacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
QueryCache |
getQueryCache(java.lang.String regionName,
UpdateTimestampsCache updateTimestampsCache,
SessionFactoryOptions settings,
java.util.Properties props)
Builds a named query cache.
|
public static final StandardQueryCacheFactory INSTANCE
public QueryCache getQueryCache(java.lang.String regionName, UpdateTimestampsCache updateTimestampsCache, SessionFactoryOptions settings, java.util.Properties props) throws HibernateException
QueryCacheFactorygetQueryCache in interface QueryCacheFactoryregionName - The cache region nameupdateTimestampsCache - The cache of timestamp values to use to perform up-to-date checks.settings - The Hibernate SessionFactory settings.props - Any properties.HibernateExceptionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.