@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; }
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; }
/** {@inheritDoc} */ @Override public CollectionRegion buildCollectionRegion(String regionName, Properties props, CacheDataDescription metadata) throws CacheException { return new HibernateCollectionRegion(this, regionName, accessStgyFactory.node(), accessStgyFactory.regionCache(regionName), metadata); }
@Override public CollectionRegion buildCollectionRegion(String regionName, Properties properties, CacheDataDescription metadata) throws CacheException { throw new NoCacheRegionFactoryAvailableException(); }
@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)); }
@Override public CollectionRegion getRegion() { return delegate.getHazelcastRegion(); }
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)); }
public CollectionRegion getRegion() { return delegate.getHazelcastRegion(); }
@Override public CollectionRegion getRegion() { return (CollectionRegion) _region; }
/** {@inheritDoc} */ @Override public CollectionRegion getRegion() { return HibernateCollectionRegion.this; }
public CollectionRegion buildCollectionRegion(String regionName, Properties properties, CacheDataDescription metadata) throws CacheException { return new MemcachedCollectionRegion(getCache(regionName), settings, metadata, properties); }
public CollectionRegion getRegion() { return region; }
@Override public CollectionRegion getRegion() { return region; }
@Override public CollectionRegion getRegion() { return collectionMemcachedRegion; }
/** * Get the wrapped collection cache region * * @return The underlying region */ public CollectionRegion getRegion();
/** * Get the wrapped naturalId cache region * * @return The underlying region */ @Override public CollectionRegion getRegion() { return (CollectionRegion) _region; }
/** * 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); }