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

项目:hazelcast-hibernate    文件: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;
}
项目:lams    文件:LocalRegionFactoryProxy.java   
@Override
public CollectionRegion buildCollectionRegion(String regionName, Properties properties,
        CacheDataDescription metadata) throws CacheException {

    return this.regionFactory.buildCollectionRegion(regionName, properties, metadata);
}
项目:spring4-understanding    文件:LocalRegionFactoryProxy.java   
@Override
public CollectionRegion buildCollectionRegion(String regionName, Properties properties,
        CacheDataDescription metadata) throws CacheException {

    return this.regionFactory.buildCollectionRegion(regionName, properties, metadata);
}
项目:hazelcast-hibernate    文件: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-hibernate    文件:CollectionRegionAccessStrategyAdapter.java   
@Override
public CollectionRegion getRegion() {
    return delegate.getHazelcastRegion();
}
项目:class-guard    文件:LocalRegionFactoryProxy.java   
public CollectionRegion buildCollectionRegion(String regionName, Properties properties,
        CacheDataDescription metadata) throws CacheException {

    return this.regionFactory.buildCollectionRegion(regionName, properties, metadata);
}
项目:hazelcast-archive    文件:AbstractCollectionRegionAccessStrategy.java   
public CollectionRegion getRegion() {
    return delegate.getHazelcastRegion();
}
项目:health-and-care-developer-network    文件:CollectionRegionAccessStrategyAdapter.java   
public CollectionRegion getRegion() {
    return delegate.getHazelcastRegion();
}