org.hibernate.cache.spi.CollectionRegion Java Examples

The following examples show how to use org.hibernate.cache.spi.CollectionRegion. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RedissonRegionFactory.java    From redisson with Apache License 2.0 5 votes vote down vote up
@Override
public CollectionRegion buildCollectionRegion(String regionName, Properties properties,
        CacheDataDescription metadata) throws CacheException {
    log.debug("Building collection cache region: " + regionName);
    
    RMapCache<Object, Object> mapCache = getCache(regionName, properties, COLLECTION_DEF);
    return new RedissonCollectionRegion(mapCache, ((Redisson)redisson).getConnectionManager(),this, metadata, settings, properties, COLLECTION_DEF);
}
 
Example #2
Source File: HibernateRegionFactory.java    From ignite with Apache License 2.0 5 votes vote down vote up
/** {@inheritDoc} */
@Override public CollectionRegion buildCollectionRegion(String regionName, Properties props,
    CacheDataDescription metadata) throws CacheException {
    return new HibernateCollectionRegion(this,
        regionName,
        accessStgyFactory.node(),
        accessStgyFactory.regionCache(regionName),
        metadata);
}
 
Example #3
Source File: HibernateRegionFactory.java    From ignite with Apache License 2.0 5 votes vote down vote up
/** {@inheritDoc} */
@Override public CollectionRegion buildCollectionRegion(String regionName, Properties props,
                                                        CacheDataDescription metadata) throws CacheException {
    return new HibernateCollectionRegion(this,
        regionName,
        accessStgyFactory.node(),
        accessStgyFactory.regionCache(regionName),
        metadata);
}
 
Example #4
Source File: TransactionalCollectionRegionAccessStrategy.java    From redisson with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) region;
}
 
Example #5
Source File: ReadOnlyCollectionRegionAccessStrategy.java    From redisson with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) region;
}
 
Example #6
Source File: TransactionalCollectionRegionAccessStrategy.java    From redisson with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) region;
}
 
Example #7
Source File: NonStrictReadWriteCollectionRegionAccessStrategy.java    From redisson with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) region;
}
 
Example #8
Source File: ReadWriteCollectionRegionAccessStrategy.java    From redisson with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) region;
}
 
Example #9
Source File: ReadOnlyCollectionRegionAccessStrategy.java    From redisson with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) region;
}
 
Example #10
Source File: NonStrictReadWriteCollectionRegionAccessStrategy.java    From redisson with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) region;
}
 
Example #11
Source File: NonStrictReadWriteCollectionRegionAccessStrategy.java    From redisson with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) region;
}
 
Example #12
Source File: ReadWriteCollectionRegionAccessStrategy.java    From redisson with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) region;
}
 
Example #13
Source File: ReadOnlyCollectionRegionAccessStrategy.java    From redisson with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) region;
}
 
Example #14
Source File: TransactionalCollectionRegionAccessStrategy.java    From redisson with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) region;
}
 
Example #15
Source File: ReadWriteCollectionRegionAccessStrategy.java    From hibernate4-memcached with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
	return region;
}
 
Example #16
Source File: BaseCollectionRegionAccessStrategy.java    From hibernate4-memcached with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
	return region;
}
 
Example #17
Source File: BaseCollectionMemcachedRegionAccessStrategy.java    From hibernate4-memcached with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return collectionMemcachedRegion;
}
 
Example #18
Source File: ReadWriteCollectionRegionAccessStrategy.java    From redisson with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return (CollectionRegion) region;
}
 
Example #19
Source File: NonstopAwareCollectionRegionAccessStrategy.java    From J2Cache with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return actualStrategy.getRegion();
}
 
Example #20
Source File: HibernateCollectionRegion.java    From ignite with Apache License 2.0 4 votes vote down vote up
/** {@inheritDoc} */
@Override public CollectionRegion getRegion() {
    return HibernateCollectionRegion.this;
}
 
Example #21
Source File: HibernateCollectionRegion.java    From ignite with Apache License 2.0 4 votes vote down vote up
/** {@inheritDoc} */
@Override public CollectionRegion getRegion() {
    return HibernateCollectionRegion.this;
}
 
Example #22
Source File: NonStrictReadWriteJ2CacheCollectionRegionAccessStrategy.java    From J2Cache with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return region();
}
 
Example #23
Source File: ReadOnlyJ2CacheCollectionRegionAccessStrategy.java    From J2Cache with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return region();
}
 
Example #24
Source File: TransactionalJ2CacheCollectionRegionAccessStrategy.java    From J2Cache with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return region();
}
 
Example #25
Source File: ReadWriteJ2CacheCollectionRegionAccessStrategy.java    From J2Cache with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return region();
}
 
Example #26
Source File: NonstopAwareCollectionRegionAccessStrategy.java    From J2Cache with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return this.actualStrategy.getRegion();
}
 
Example #27
Source File: NonStrictReadWriteJ2CacheCollectionRegionAccessStrategy.java    From J2Cache with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return region();
}
 
Example #28
Source File: ReadOnlyJ2CacheCollectionRegionAccessStrategy.java    From J2Cache with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return region();
}
 
Example #29
Source File: TransactionalJ2CacheCollectionRegionAccessStrategy.java    From J2Cache with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return region();
}
 
Example #30
Source File: ReadWriteJ2CacheCollectionRegionAccessStrategy.java    From J2Cache with Apache License 2.0 4 votes vote down vote up
@Override
public CollectionRegion getRegion() {
    return region();
}