@Override public NaturalIdRegion buildNaturalIdRegion(final String regionName, final Properties properties, final CacheDataDescription metadata) throws CacheException { final HazelcastNaturalIdRegion<LocalRegionCache> region = new HazelcastNaturalIdRegion<LocalRegionCache>( instance, regionName, properties, metadata, new LocalRegionCache(regionName, instance, metadata)); cleanupService.registerCache(region.getCache()); return region; }
public NaturalIdRegion buildNaturalIdRegion(final String regionName, final Properties properties, final CacheDataDescription metadata) throws CacheException { final HazelcastNaturalIdRegion<LocalRegionCache> region = new HazelcastNaturalIdRegion<LocalRegionCache>( instance, regionName, properties, metadata, new LocalRegionCache(regionName, instance, metadata)); cleanupService.registerCache(region.getCache()); return region; }
/** {@inheritDoc} */ @Override public NaturalIdRegion buildNaturalIdRegion(String regionName, Properties props, CacheDataDescription metadata) throws CacheException { return new HibernateNaturalIdRegion(this, regionName, accessStgyFactory.node(), accessStgyFactory.regionCache(regionName), metadata); }
@Override public NaturalIdRegion buildNaturalIdRegion(String regionName, Properties properties, CacheDataDescription metadata) throws CacheException { // TODO Auto-generated method stub return null; }
@Override public NaturalIdRegion buildNaturalIdRegion(String regionName, Properties properties, CacheDataDescription metadata) throws CacheException { throw new NoCacheRegionFactoryAvailableException(); }
@Override public NaturalIdRegion buildNaturalIdRegion(final String regionName, final Properties properties, final CacheDataDescription metadata) throws CacheException { return new HazelcastNaturalIdRegion<IMapRegionCache>(instance, regionName, properties, metadata, new IMapRegionCache(regionName, instance, properties, metadata)); }
@Override public NaturalIdRegion getRegion() { return delegate.getHazelcastRegion(); }
public NaturalIdRegion buildNaturalIdRegion(final String regionName, final Properties properties, final CacheDataDescription metadata) throws CacheException { return new HazelcastNaturalIdRegion<IMapRegionCache>(instance, regionName, properties, metadata, new IMapRegionCache(regionName, instance, properties, metadata)); }
public NaturalIdRegion getRegion() { return delegate.getHazelcastRegion(); }
/** {@inheritDoc} */ @Override public NaturalIdRegion getRegion() { return HibernateNaturalIdRegion.this; }
@Override public NaturalIdRegion getRegion() { return region; }
@Override public NaturalIdRegion getRegion() { return naturalIdMemcachedRegion; }
/** * Get the wrapped naturalId cache region * * @return The underlying region */ public NaturalIdRegion getRegion();
/** * Get the wrapped naturalId cache region * * @return The underlying region */ @Override public NaturalIdRegion getRegion() { return (NaturalIdRegion)_region; }
/** * Get the wrapped naturalId cache region * * @return The underlying region */ @Override public NaturalIdRegion getRegion() { return (NaturalIdRegion) _region; }
/** * Build a cache region specialized for storing NaturalId to Primary Key * mappings. * * @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 NaturalIdRegion buildNaturalIdRegion(String regionName, Properties properties, CacheDataDescription metadata) throws CacheException { return new TayzGridNaturalIdRegion(regionName, properties, metadata); }