org.hibernate.cache.spi.UpdateTimestampsCache Java Examples

The following examples show how to use org.hibernate.cache.spi.UpdateTimestampsCache. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: IgniteStandardQueryCacheFactory.java    From sakai with Educational Community License v2.0 5 votes vote down vote up
@Override
public QueryCache getQueryCache(
        final String regionName,
        final UpdateTimestampsCache updateTimestampsCache,
        final Settings settings,
        final Properties props) throws HibernateException {
    return new IgniteStandardQueryCache(settings, props, updateTimestampsCache, regionName);
}
 
Example #2
Source File: IgniteStandardQueryCacheFactory.java    From sakai with Educational Community License v2.0 5 votes vote down vote up
@Override
public QueryCache getQueryCache(
        final String regionName,
        final UpdateTimestampsCache updateTimestampsCache,
        final Settings settings,
        final Properties props) throws HibernateException {
    return new IgniteStandardQueryCache(settings, props, updateTimestampsCache, regionName);
}
 
Example #3
Source File: SessionFactoryWrapper.java    From lemon with Apache License 2.0 4 votes vote down vote up
public UpdateTimestampsCache getUpdateTimestampsCache() {
    return sessionFactoryImplementor.getUpdateTimestampsCache();
}
 
Example #4
Source File: CacheImplementor.java    From lams with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Get {@code UpdateTimestampsCache} instance managed by the {@code SessionFactory}.
 *
 * @deprecated Use {@link #getTimestampsCache} instead
 */
@Deprecated
default UpdateTimestampsCache getUpdateTimestampsCache() {
	return getTimestampsCache();
}
 
Example #5
Source File: IgniteStandardQueryCache.java    From sakai with Educational Community License v2.0 2 votes vote down vote up
/**
 * Constructs a StandardQueryCache instance
 *
 * @param settings              The SessionFactory settings.
 * @param props                 Any properties
 * @param updateTimestampsCache The update-timestamps cache to use.
 * @param regionName            The base query cache region name
 */
public IgniteStandardQueryCache(Settings settings, Properties props, UpdateTimestampsCache updateTimestampsCache, String regionName) {
    super(settings, props, updateTimestampsCache, regionName);
}
 
Example #6
Source File: IgniteStandardQueryCache.java    From sakai with Educational Community License v2.0 2 votes vote down vote up
/**
 * Constructs a StandardQueryCache instance
 *
 * @param settings              The SessionFactory settings.
 * @param props                 Any properties
 * @param updateTimestampsCache The update-timestamps cache to use.
 * @param regionName            The base query cache region name
 */
public IgniteStandardQueryCache(Settings settings, Properties props, UpdateTimestampsCache updateTimestampsCache, String regionName) {
    super(settings, props, updateTimestampsCache, regionName);
}