Java 类org.hibernate.cache.spi.QueryResultsRegion 实例源码

项目:hazelcast-hibernate5    文件:AbstractHazelcastCacheRegionFactory.java   
@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;
}
项目:ignite    文件:HibernateRegionFactory.java   
/** {@inheritDoc} */
@Override public QueryResultsRegion buildQueryResultsRegion(String regionName, Properties props)
    throws CacheException {
    return new HibernateQueryResultsRegion(this,
        regionName,
        accessStgyFactory.node(),
        accessStgyFactory.regionCache(regionName));
}
项目:ignite    文件:HibernateRegionFactory.java   
/** {@inheritDoc} */
@Override public QueryResultsRegion buildQueryResultsRegion(String regionName, Properties props)
    throws CacheException {
    return new HibernateQueryResultsRegion(this,
        regionName,
        accessStgyFactory.node(),
        accessStgyFactory.regionCache(regionName));
}
项目:lams    文件:NoCachingRegionFactory.java   
@Override
public QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws CacheException {
    throw new NoCacheRegionFactoryAvailableException();
}
项目:lams    文件:StandardQueryCache.java   
@Override
public QueryResultsRegion getRegion() {
    return cacheRegion;
}
项目:hazelcast-hibernate    文件:AbstractHazelcastCacheRegionFactory.java   
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;
}
项目:hibernate-memcached    文件:AbstractMemcachedRegionFactory.java   
public QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws CacheException {
    return new MemcachedQueryResultRegion(getCache(regionName), properties);
}
项目:TayzGrid    文件:TayzGridRegionFactory.java   
/**
 * 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);
}