All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kr.pe.kwonnam.hibernate4memcached.strategies.BaseEntityMemcachedRegionAccessStrategy Maven / Gradle / Ivy

There is a newer version: 0.7
Show newest version
package kr.pe.kwonnam.hibernate4memcached.strategies;

import kr.pe.kwonnam.hibernate4memcached.regions.EntityMemcachedRegion;
import org.hibernate.cache.spi.EntityRegion;
import org.hibernate.cache.spi.access.EntityRegionAccessStrategy;

/**
 * @see org.hibernate.cache.spi.access.EntityRegionAccessStrategy
 * @author KwonNam Son ([email protected])
 */
public abstract class BaseEntityMemcachedRegionAccessStrategy extends MemcachedRegionAccessStrategy implements EntityRegionAccessStrategy {
    private EntityMemcachedRegion entityMemcachedRegion;

    public BaseEntityMemcachedRegionAccessStrategy(EntityMemcachedRegion entityMemcachedRegion) {
        super(entityMemcachedRegion);
        this.entityMemcachedRegion = entityMemcachedRegion;
    }

    @Override
    public EntityRegion getRegion() {
        return entityMemcachedRegion;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy