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

项目:hazelcast-hibernate5    文件:HazelcastLocalCacheRegionFactory.java   
@Override
public CollectionRegion buildCollectionRegion(final String regionName, final Properties properties,
                                              final CacheDataDescription metadata) throws CacheException {
    final HazelcastCollectionRegion<LocalRegionCache> region = new HazelcastCollectionRegion<LocalRegionCache>(instance,
            regionName, properties, metadata, new LocalRegionCache(regionName, instance, metadata));
    cleanupService.registerCache(region.getCache());
    return region;
}
项目:hazelcast-hibernate    文件:HazelcastLocalCacheRegionFactory.java   
public CollectionRegion buildCollectionRegion(final String regionName, final Properties properties,
                                              final CacheDataDescription metadata) throws CacheException {
    final HazelcastCollectionRegion<LocalRegionCache> region = new HazelcastCollectionRegion<LocalRegionCache>(instance,
            regionName, properties, metadata, new LocalRegionCache(regionName, instance, metadata));
    cleanupService.registerCache(region.getCache());
    return region;
}
项目:ignite    文件:HibernateRegionFactory.java   
/** {@inheritDoc} */
@Override public CollectionRegion buildCollectionRegion(String regionName, Properties props,
                                                        CacheDataDescription metadata) throws CacheException {
    return new HibernateCollectionRegion(this,
        regionName,
        accessStgyFactory.node(),
        accessStgyFactory.regionCache(regionName),
        metadata);
}
项目:ignite    文件:HibernateRegionFactory.java   
/** {@inheritDoc} */
@Override public CollectionRegion buildCollectionRegion(String regionName, Properties props,
    CacheDataDescription metadata) throws CacheException {
    return new HibernateCollectionRegion(this,
        regionName,
        accessStgyFactory.node(),
        accessStgyFactory.regionCache(regionName),
        metadata);
}
项目:lams    文件:NoCachingRegionFactory.java   
@Override
public CollectionRegion buildCollectionRegion(String regionName, Properties properties, CacheDataDescription metadata)
        throws CacheException {
    throw new NoCacheRegionFactoryAvailableException();
}
项目:hazelcast-hibernate5    文件:HazelcastCacheRegionFactory.java   
@Override
public CollectionRegion buildCollectionRegion(final String regionName, final Properties properties,
                                              final CacheDataDescription metadata) throws CacheException {
    return new HazelcastCollectionRegion<IMapRegionCache>(instance, regionName, properties, metadata,
            new IMapRegionCache(regionName, instance, properties, metadata));
}
项目:hazelcast-hibernate5    文件:CollectionRegionAccessStrategyAdapter.java   
@Override
public CollectionRegion getRegion() {
    return delegate.getHazelcastRegion();
}
项目:hazelcast-hibernate5    文件:CollectionRegionAccessStrategyAdapter.java   
@Override
public CollectionRegion getRegion() {
    return delegate.getHazelcastRegion();
}
项目:hazelcast-hibernate    文件:HazelcastCacheRegionFactory.java   
public CollectionRegion buildCollectionRegion(final String regionName, final Properties properties,
                                              final CacheDataDescription metadata) throws CacheException {
    return new HazelcastCollectionRegion<IMapRegionCache>(instance, regionName, properties, metadata,
            new IMapRegionCache(regionName, instance, properties, metadata));
}
项目:hazelcast-hibernate    文件:CollectionRegionAccessStrategyAdapter.java   
public CollectionRegion getRegion() {
    return delegate.getHazelcastRegion();
}
项目:TayzGrid    文件:ReadOnlyTayzGridCollectionRegionAccessStrategy.java   
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) _region;
}
项目:ignite    文件:HibernateCollectionRegion.java   
/** {@inheritDoc} */
@Override public CollectionRegion getRegion() {
    return HibernateCollectionRegion.this;
}
项目:ignite    文件:HibernateCollectionRegion.java   
/** {@inheritDoc} */
@Override public CollectionRegion getRegion() {
    return HibernateCollectionRegion.this;
}
项目:hibernate-memcached    文件:AbstractMemcachedRegionFactory.java   
public CollectionRegion buildCollectionRegion(String regionName, Properties properties, CacheDataDescription metadata)
        throws CacheException {
    return new MemcachedCollectionRegion(getCache(regionName), settings, metadata, properties);
}
项目:hibernate-memcached    文件:ReadOnlyMemcachedCollectionRegionAccessStrategy.java   
public CollectionRegion getRegion() {
    return region;
}
项目:hibernate-memcached    文件:ReadWriteMemcachedCollectionRegionAccessStrategy.java   
public CollectionRegion getRegion() {
    return region;
}
项目:hibernate-memcached    文件:NonStrictReadWriteMemcachedCollectionRegionAccessStrategy.java   
public CollectionRegion getRegion() {
    return region;
}
项目:hibernate4-memcached    文件:ReadWriteCollectionRegionAccessStrategy.java   
@Override
public CollectionRegion getRegion() {
    return region;
}
项目:hibernate4-memcached    文件:BaseCollectionRegionAccessStrategy.java   
@Override
public CollectionRegion getRegion() {
    return region;
}
项目:hibernate4-memcached    文件:BaseCollectionMemcachedRegionAccessStrategy.java   
@Override
public CollectionRegion getRegion() {
    return collectionMemcachedRegion;
}
项目:lams    文件:CollectionRegionAccessStrategy.java   
/**
 * Get the wrapped collection cache region
 *
 * @return The underlying region
 */
public CollectionRegion getRegion();
项目:TayzGrid    文件:NonStrictReadWriteTayzGridCollectionRegionAccessStrategy.java   
/**
 * Get the wrapped naturalId cache region
 *
 * @return The underlying region
 */
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) _region;
}
项目:TayzGrid    文件:ReadWriteTayzGridCollectionRegionAccessStrategy.java   
/**
 * Get the wrapped naturalId cache region
 *
 * @return The underlying region
 */
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) _region;
}
项目:TayzGrid    文件:TayzGridRegionFactory.java   
/**
 * Build a cache region specialized for storing collection data.
 *
 * @param regionName The name of the region.
 * @param properties Configuration properties.
 * @param metadata Information regarding the type of data to be cached
 *
 * @return The built region
 *
 * @throws CacheException Indicates problems building the region.
 */
@Override
public CollectionRegion buildCollectionRegion(String regionName, Properties properties, CacheDataDescription metadata) throws CacheException {
    return new TayzGridCollectionRegion(regionName, properties, metadata);
}