@Override public final QueryResultsRegion buildQueryResultsRegion(final String regionName, final Properties properties) throws CacheException { HazelcastQueryResultsRegion region = new HazelcastQueryResultsRegion(instance, regionName, properties); cleanupService.registerCache(region.getCache()); return region; }
/** {@inheritDoc} */ @Override public QueryResultsRegion buildQueryResultsRegion(String regionName, Properties props) throws CacheException { return new HibernateQueryResultsRegion(this, regionName, accessStgyFactory.node(), accessStgyFactory.regionCache(regionName)); }
@Override public QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws CacheException { throw new NoCacheRegionFactoryAvailableException(); }
@Override public QueryResultsRegion getRegion() { return cacheRegion; }
public final QueryResultsRegion buildQueryResultsRegion(final String regionName, final Properties properties) throws CacheException { HazelcastQueryResultsRegion region = new HazelcastQueryResultsRegion(instance, regionName, properties); cleanupService.registerCache(region.getCache()); return region; }
public QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws CacheException { return new MemcachedQueryResultRegion(getCache(regionName), properties); }
/** * Build a cache region specialized for storing query results * * @param regionName The name of the region. * @param properties Configuration properties. * * @return The built region * * @throws CacheException Indicates problems building the region. */ @Override public QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws CacheException { return new TayzGridQueryResultRegion(regionName, properties); }