kr.pe.kwonnam.hibernate4memcached.strategies.BaseNaturalIdMemcachedRegionAccessStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate4-memcached-core Show documentation
Show all versions of hibernate4-memcached-core Show documentation
hibernate4 memcached L2 cache implementation.
package kr.pe.kwonnam.hibernate4memcached.strategies;
import kr.pe.kwonnam.hibernate4memcached.regions.NaturalIdMemcachedRegion;
import org.hibernate.cache.spi.NaturalIdRegion;
import org.hibernate.cache.spi.access.NaturalIdRegionAccessStrategy;
/**
* @author KwonNam Son ([email protected])
* @see org.hibernate.cache.spi.access.NaturalIdRegionAccessStrategy
*/
public abstract class BaseNaturalIdMemcachedRegionAccessStrategy extends MemcachedRegionAccessStrategy implements NaturalIdRegionAccessStrategy {
private NaturalIdMemcachedRegion naturalIdMemcachedRegion;
public BaseNaturalIdMemcachedRegionAccessStrategy(NaturalIdMemcachedRegion naturalIdMemcachedRegion) {
super(naturalIdMemcachedRegion);
this.naturalIdMemcachedRegion = naturalIdMemcachedRegion;
}
@Override
public NaturalIdRegion getRegion() {
return naturalIdMemcachedRegion;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy