public class StandardQueryCacheFactory extends 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(String regionName,
UpdateTimestampsCache updateTimestampsCache,
SessionFactoryOptions settings,
Properties props)
Builds a named query cache.
|
public static final StandardQueryCacheFactory INSTANCE
public QueryCache getQueryCache(String regionName, UpdateTimestampsCache updateTimestampsCache, SessionFactoryOptions settings, Properties props) throws HibernateException
QueryCacheFactory
getQueryCache
in interface QueryCacheFactory
regionName
- 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.HibernateException
Copyright © 2017 JBoss by Red Hat. All rights reserved.