public class StandardQueryCacheFactory extends Object implements QueryCacheFactory
StandardQueryCache
.Constructor and Description |
---|
StandardQueryCacheFactory() |
Modifier and Type | Method and Description |
---|---|
QueryCache |
getQueryCache(String regionName,
UpdateTimestampsCache updateTimestampsCache,
Settings settings,
Properties props)
Builds a named query cache.
|
public QueryCache getQueryCache(String regionName, UpdateTimestampsCache updateTimestampsCache, Settings 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 © 2001-2015 Red Hat, Inc. All Rights Reserved.