public Cache buildCache(String names, Properties props) throws CacheException { return delegate.buildCache(names, props); }
public Cache buildCache(String regionName, Properties properties) throws CacheException { return delegate.buildCache(regionName, properties); }
public StandardQueryCache( final Settings settings, final Properties props, final UpdateTimestampsCache updateTimestampsCache, String regionName) throws HibernateException { if (regionName==null) regionName = StandardQueryCache.class.getName(); String prefix = settings.getCacheRegionPrefix(); if (prefix!=null) regionName = prefix + '.' + regionName; log.info("starting query cache at region: " + regionName); this.queryCache = settings.getCacheProvider().buildCache(regionName, props); this.updateTimestampsCache = updateTimestampsCache; this.regionName = regionName; }
public UpdateTimestampsCache(Settings settings, Properties props) throws HibernateException { String prefix = settings.getCacheRegionPrefix(); regionName = prefix==null ? REGION_NAME : prefix + '.' + REGION_NAME; log.info("starting update timestamps cache at region: " + regionName); this.updateTimestamps = settings.getCacheProvider().buildCache(regionName, props); }
public UpdateTimestampsCache(Settings settings, Properties props) throws HibernateException { String prefix = settings.getCacheRegionPrefix(); regionName = prefix == null ? REGION_NAME : prefix + '.' + REGION_NAME; log.info( "starting update timestamps cache at region: " + regionName ); this.updateTimestamps = settings.getCacheProvider().buildCache( regionName, props ); }
public StandardQueryCache( final Settings settings, final Properties props, final UpdateTimestampsCache updateTimestampsCache, String regionName) throws HibernateException { if ( regionName == null ) { regionName = StandardQueryCache.class.getName(); } String prefix = settings.getCacheRegionPrefix(); if ( prefix != null ) { regionName = prefix + '.' + regionName; } log.info( "starting query cache at region: " + regionName ); this.queryCache = settings.getCacheProvider().buildCache(regionName, props); this.updateTimestampsCache = updateTimestampsCache; this.regionName = regionName; }
impl = settings.getCacheProvider().buildCache(regionName, properties);
impl = settings.getCacheProvider().buildCache(regionName, properties);